开发者

Modify MVC3 Razorview on Change event for @Html.DropDownListFor

I have a razorview with a strong model.

On this model there is a @Html.DropDownListFor with a jquery change function linked to it.

On this change, I'd like to change parts of the view to show different op开发者_开发问答tions available for different selections. This options are fields, checkboxes and hoter dropdownlists for properties in the strong model.

How can I do that?


You might want to try using jQuery Ajax calls on the change event to populate the sections.

Sorry, I'm pressed for time to give a more thorough answer.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜