RibbonBarComboBox client side identification on OnClientComboBoxSelectedIndexChanged

2 posts, 0 answers
  1. Abhilash
    Abhilash avatar
    9 posts
    Member since:
    Dec 2012

    Posted 19 Oct 2013 Link to this post

    Hi all,
    I have two RibbonBarComboBox in my RibbonBar. OnClientComboBoxSelectedIndexChanged event,I want to identify which combobox raised client side event. Please provide me a solution.

    Thank you

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 21 Oct 2013 Link to this post

    Hi Abhilash,

    Please have a look into the following code I tried to alert the ID of the RadComboBox which raised the OnClientComboBoxSelectedIndexChanged event.

    <script type="text/javascript">
        function OnClientComboBoxSelectedIndexChanged(sender, args) {
            alert("ComboBox ID: " + args.get_comboBox().get_element().id);

Back to Top