I'm just starting playing with MVC, and some are not clicking with me, I think a simple How to create an input form, and use the submit button to post the form set in this way:
& lt; Form runat = "server" method = "post" action = "/ home / create new" & gt;
But what happens if you are inside the entire app in a form tag, and you want many input forms? For example, I am using some AjaxControlToolkit control on my master page, for which the whole page should be within a form tag. If I have two completely different input forms, do I have to funnel them through the CreateNew controller? How do I use a different action for each input form?
You should not have to put one around the whole page to keep your many input forms where you need them is. You can also get rid of runat = "server" You will not need this in MVC.
Most Ajax control toolkits are not currently working in MVC, because MVC does not have a viewstrate. .
My recommendation is to use it instead, and fits better within the MVC model.
Comments
Post a Comment