Hi,
I have 2 combo boxes on a page. The second one is dependent on the data selected in the first. The first one is loaded on page load.
Everything works fine till this step.
1. User comes to screen, selects data in 1st combo.
2. 2nd combo gets populated. User selects data in 2nd combo.
Now here I have autopostback=true, and OnSelectedIndexChanged="RadComboBox2_SelectedIndexChanged", which hits the server and populates a Grid control.
The problem I am facing is that when the form comes back, I have lost the data and the selected value in the 2nd dropdown. As a result, the grid control also doesnt get any data.
This is how the 2nd combo looks.
| <telerik:RadComboBox style="margin-left: 77%" ID="RadComboBox2" runat="server" |
| Skin="Windows7" OnClientItemsRequested="ItemsLoaded" |
| OnClientSelectedIndexChanging="LoadFunds" OnSelectedIndexChanged="RadComboBox2_SelectedIndexChanged" |
| OnItemsRequested="RadComboBox2_ItemsRequested" Width="350px" AutoPostBack="true"> |
| </telerik:RadComboBox> |
Any help would be appreciated here.
Thanks.