i have two dropdown lists for selecting Types and Subtypes. when selecting the type the related subtypes are populated in another dropdown.
i am binding this dropdowns using LinqDatasource. this is working fine. but when i came to show it in edit view.sending the selectedvalues to
show the types and subtypes to the dropdowns.
for types dropdown is working, and after the related subtypes are binded in second dropdown. but it is fails to show the selected value in it. some where
it loosing this value. how can i set this selected value for subtypes after changing the types .
my sample code is
<asp:DropDownList ID="ddlAssetType" runat="server" DataSourceID="ldsAssetType" DataTextField="Description" DataValueField="AssetTypeID" class="select" Width="100" AutoPostBack="true" OnSelectedIndexChanged="ddlAssetType_ ...
Go to the complete details ...