在我的ASP.NET MVC的看法,我有一個下拉列表和三個單選按鈕,給出更改單選按鈕時下拉的變化MVC
@Html.RadioButtonFor(m => m.ClientDur1.LookupValueID, "true", new { Name = "grp", @id = "CM1", @checked = "true" }) @Model.ClientDur1.Val1
@Html.RadioButtonFor(m => m.ClientDur2.LookupValueID, "false", new { Name = "grp", @id = "CM2" }) @Model.ClientDur2.Val1
@Html.RadioButtonFor(m => m.ClientDur3.LookupValueID, "false", new { Name = "grp", @id = "CM3" }) @Model.ClientDur3.Val3
和我的下拉列表是,
@Html.DropDownListFor(m => m.Currency, new SelectList(Model.CurrencyList, "AttributeValueID", "AttributeDescription"), new { @id = "ddCurrencyId" })
而我需要的是當我改變我的下拉列表我想更新我的單選按鈕值,這是我的Model.ClientDur1.LookupValueID和ClientDur1.Val1(類似於其他人)應該有新的更改的細節。
我該如何做到這一點?
謝謝,幫助...雖然我的實際問題解決了:http:// stackoverflow.com/questions/22343533/update-partial-view-with-ajax – TBA