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

ClientID inside usercontrol with trackChanges

1 Answer 8 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Sean
Top achievements
Rank 1
Sean asked on 26 Jun 2013, 08:34 PM
I have a radlistbox that has its items added to it (client side via a combobox) in a user control ...

so...

selectedItemsBox = $find("<%= myresults.ClientID %>")
selectedItemsBox.trackChanges()
 
.... do all of the add new item code here

The issue is that as this is in a user control if there are multiple instances all of the items get added to the last listbox. The event that fires the 'add' is the selectedindexchanged of the combobox so I don't have a "sender" as the "sender" would be the combobox.

1 Answer, 1 is accepted

Sort by
0
Kate
Telerik team
answered on 01 Jul 2013, 09:59 AM
Hello Sean,

Can you please clarify the exact issue that you are currently experiencing with the RadControls? Can you also specify what is the expected behavior and what you are currently getting? I would also appreciate very much if you can provide more code that will be useful in replicating the scenario from my side. 

Regards,
Kate
Telerik
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 the blog feed now.
Tags
ListBox
Asked by
Sean
Top achievements
Rank 1
Answers by
Kate
Telerik team
Share this question
or