get comboBox name at OnClientSelectedIndexChanged

2 posts, 0 answers
  1. Rubén
    Rubén avatar
    1 posts
    Member since:
    Feb 2015

    Posted 07 May 2015 Link to this post


    I have a Radcombobox control which runs a javascript function when selected item changes (OnClientSelectedIndexChanged event). When the event is lauched, I want to know the comboBox name that it does. Is there any way?


  2. Dimitar
    Dimitar avatar
    281 posts

    Posted 08 May 2015 Link to this post


    The OnClientSelectedIndexChanged event receives 2 arguments. The first is the instance of the RadComboBox that is firing the event. You could use this argument to interact with the RadComboBox client-side API. For example, you could get the control's ID as follows:

    function OnClientSelectedIndexChanged(sender, eventArgs) {


    See What's Next in App Development. Register for TelerikNEXT.

  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top