ClientID inside usercontrol with trackChanges

2 posts, 0 answers
  1. Sean
    Sean avatar
    51 posts
    Member since:
    May 2008

    Posted 26 Jun 2013 Link to this post

    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.
  2. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 01 Jul 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top