This is a migrated thread and some comments may be shown as answers.

Loading combo boxes from preserved state

1 Answer 41 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
sara
Top achievements
Rank 1
sara asked on 10 Jun 2008, 04:11 PM
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:

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

1 Answer, 1 is accepted

Sort by
0
Rosi
Telerik team
answered on 11 Jun 2008, 12:23 PM
Hello Sara,

I think the best way to proceed is to send us a sample running project illustrating these problems.

We will test it locally and provide a solution.

Steps to reproduce the problem will be highly appreciated.

Regards,
Rosi
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ComboBox
Asked by
sara
Top achievements
Rank 1
Answers by
Rosi
Telerik team
Share this question
or