Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I get the impression you need to read some MVC3 basics. From what I gather you're simply trying to submit form data for server side handling, and that is very straight forward to do with MVC3. Normally you would have a controller with an action capable of returning some ActionResult, which often happens to be a View, visualizing an underlying Model you have created. In the View you could then use Html.BeginForm() to construct a form based upon this Model.</p> <p>The submit button would then send a Post to the same controller but then to an action capable of handling a post of the resulting Model.</p> <p><a href="http://blog.codeville.net/2007/11/20/aspnet-mvc-pipeline-lifecycle/" rel="nofollow">This blog post</a> sums up nicely the most basic parts you need to know:</p> <ul> <li>From Global.asax, add a Route object representing a certain URL pattern you want to catch and map to a controller / action</li> <li>Add a Controller subclass, whose [ControllerActions] should be invoked in response to requests, populating ViewData</li> <li>Add a view template that uses ViewData to render some HTML</li> </ul> <p>The rest of the post might or might not be interesting depending upon how technical you want to get.</p> <p>I would recommend looking at some basic introductions to building MVC3 applications. Try working through this one: <a href="http://www.asp.net/mvc/tutorials/older-versions/javascript/creating-a-mvc-3-application-with-razor-and-unobtrusive-javascript" rel="nofollow">http://www.asp.net/mvc/tutorials/older-versions/javascript/creating-a-mvc-3-application-with-razor-and-unobtrusive-javascript</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload