Radlistbox item collection on client side

2 posts, 0 answers
  1. Amie
    Amie avatar
    1 posts
    Member since:
    Aug 2012

    Posted 12 Sep 2012 Link to this post


    Can someone help me to achieve this functionality using client side?

    I have a radcombobox and a radlistbox that was initially populated on page load.  Radcombobox has an attribute named "Attribute1".  When the selected index of the radcombobox is greater than 0, the radlistbox will be cleared out and new items will be added to the radlistbox which is the value of the custom attribute of the selected radcombobox item, "Attribute1".  This works fine.  My issue is when I set the radcombox selected index back to 0, I can't restore the previous value of the radlistbox before it was cleared out.

  2. Ivana
    Ivana avatar
    657 posts

    Posted 14 Sep 2012 Link to this post

    Hello Amie,

    You might need to save the initial state of the RadListBox and then retrieve this state when the item with an index zero is selected in the RadComboBox.
    Could you paste here the markup and the code involved in this scenario?

    Thank you!

    Best regards,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. DevCraft R3 2016 release webinar banner
Back to Top