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

Radlistbox item collection on client side

1 Answer 128 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Amie
Top achievements
Rank 1
Amie asked on 12 Sep 2012, 11:48 PM
Hello,

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.

Thanks!

1 Answer, 1 is accepted

Sort by
0
Ivana
Telerik team
answered on 14 Sep 2012, 10:42 AM
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,
Ivana
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.
Tags
ListBox
Asked by
Amie
Top achievements
Rank 1
Answers by
Ivana
Telerik team
Share this question
or