The data comes from imported XML-files such like:
Expand|Select|Wrap|Line Numbers
- <?xml version="1.0" encoding="utf-8" ?>
- <Items>
- <Item ID="1" Name="MVC" Country="England" City="London" Website="http://forums.asp.net" Genre="New" />
- ....
- </Items>
Expand|Select|Wrap|Line Numbers
- <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
- <h2>Hitdossier</h2>
- <script type="text/javascript">
- function OnChange(text) {
- ...
- }
- </script>
- <form id="form1" runat="server">
- <br />
- <label>Select Name</label>
- <%= Html.DropDownListFor(a => a.SelectedItem, new SelectList(Model.Artists, "Value", "Text"), new { onchange = "OnChange(this.Value);" })%>
- <br />
- <br />
- <%= Html.Action("DetailInfo") %><br />
- <br />
- <%= Html.Action("MemberList") %> <br />
- <br />
- <%= Html.Action("RelationsList") %><br />
- <br />
- </form>
- </asp:Content>
I want to change the view data when the item of a dropdownlist has changed.
... And I hope to see on the webpage, detail information right under the DropDownList.
Country: England
City: London
Website: etc.
... and then a list of Members and Relations.
Thank you for helping me
Wesley