Client-side Tooltip for RadTextBox

2 posts, 0 answers
  1. Tye
    Tye avatar
    18 posts
    Member since:
    Feb 2008

    Posted 05 Mar 2010 Link to this post

    I don't see in the documentation a client-side method to update the Tooltip property of the RadTextBox. Is there a way to do this? I'm not using the RadToolTipManager in this case. I was hoping for something along the lines of:

    myRadTextBox.set_tooltip("myToolTipString");

    Similar to setting the value (set_value("")). Any thoughts?

    Thanks,
    Tye
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 08 Mar 2010 Link to this post

    Hello Tye,

    I tried following client side code in order to change the tooltip of RadTextBox.

    JavaScript:

     
    <script type="text/javascript">  
        function setToolTip() {  
            var RadTextBox = $find("<%= RadTextBox1.ClientID %>");  // Get the textbox client object  
            RadTextBox._textBoxElement.title = "Changed Tooltip";  
        }  
    </script> 

    -Shinu.

Back to Top