How do I access the Tooltip (title) property of a RadComboBoxItem in Javascript?

2 posts, 1 answers
  1. Boris
    Boris avatar
    276 posts
    Member since:
    Oct 2012

    Posted 08 Apr 2014 Link to this post

    I've created a RadComboBox with a set of RadComboBoxItems that include tooltips.  

    I have the combobox's OnClientSelectedIndexChanged set to call a Javascript function.  

    Within that function I'm already able to access the selected value and text.

    What I can't seem to find is a way in JavaScript to get to the RadComboBoxItem's ToolTip (Or 'title'.  I've already verified that the LI objects have the correct titles.)

  2. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 09 Apr 2014 in reply to Boris Link to this post

    Hi Boris,

    Please try the following JavaScript to access the ToolTip of the selected item of a RadComboBox.

    JavaScript:
    alert("tool tip " + sender.get_selectedItem().get_element().title);

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