I have just recently downloaded the trial version of RadControls for ASP.NET AJAX. I have used the ASP.NET RadControls before, but decided to see what's new. I've run into a problem when trying to convert a page.
On the page, I have two drop downs - Region and Country. The region drop down filters the list in the country drop down. On this page, the user can, at any time, save the filter changes that they've made (for example, they can save the fact that they've selected "East Asia" and "Japan". Then, later, they can click a link button to reload these selections. When they click this button, I need to on the client side to load what has been saved. Before, I would do:
Then on the callback to the server, I would load the countries for the specified region and select the specified country - all on the server.
Since switching, I have been unable to accomplish the same thing. When I try to select the item, a SelectedIndexChanged event fires for the region drop down (before this didn't happen). Secondly, when I load the items on the server for the country drop down, the country that is supposed to get selected does not get selected on the client.
Do you have any suggestions on how to fix these two issues?
Thanks,
Sara
On the page, I have two drop downs - Region and Country. The region drop down filters the list in the country drop down. On this page, the user can, at any time, save the filter changes that they've made (for example, they can save the fact that they've selected "East Asia" and "Japan". Then, later, they can click a link button to reload these selections. When they click this button, I need to on the client side to load what has been saved. Before, I would do:
regionCombo.FindItemByValue(regionId).Select(); |
countryCombo.RequestItems(regionId + "|" + countryId, false); |
Then on the callback to the server, I would load the countries for the specified region and select the specified country - all on the server.
Since switching, I have been unable to accomplish the same thing. When I try to select the item, a SelectedIndexChanged event fires for the region drop down (before this didn't happen). Secondly, when I load the items on the server for the country drop down, the country that is supposed to get selected does not get selected on the client.
Do you have any suggestions on how to fix these two issues?
Thanks,
Sara