MVC 3 + jQuery = dynamic forms
My page consist from these three blocks:
- Page header
- Page body
- Page foot
In page header section I have several drop downs. Depends on selected values in these drop downs I have to load proper form, so what is the best way开发者_C百科 to make it? Thank you!
may not be the best way but you can put the form in a partial view and onChange
of selected value render the partial view using ajax
here is an example http://iridescence.no/post/Partial-Rendering-with-ASPNET-MVC-and-jQuery.aspx
精彩评论