Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- System.Web.Mvc.dll!System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod
- <% Html.RenderAction("ContactUsForm", "Company",
- new { commentsBoxHeader = "Questions" }); %>
- [AcceptVerbs(HttpVerbs.Post)]
- public ActionResult ContactUsForm(FormCollection formdata)
- [AcceptVerbs(HttpVerbs.Post)]
- public ActionResultContactUsForm(FormCollection formData)
- {
- if (formData["btnSubmitContactUsForm"] == null) {
- // "This form is not for us!";
- // figure out how (if is possible) to return the get default view here
- // and call it with the right arguments
- }
- }
- $(document).ready( function() {
- $('#mybutton').click( function() {
- $('form').submit();
- });
- });
Add Comment
Please, Sign In to add comment