开发者

MVC 3 + jQuery = dynamic forms

My page consist from these three blocks:

  1. Page header
  2. Page body
  3. 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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜