Loading combo boxes from preserved state

2 posts, 0 answers
  1. sara
    sara avatar
    31 posts
    Member since:
    May 2007

    Posted 10 Jun 2008 Link to this post

    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:

    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?

  2. Rosi
    Rosi avatar
    2529 posts

    Posted 11 Jun 2008 Link to this post

    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.

    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top