This is a migrated thread and some comments may be shown as answers.

RadTextBox tooltip for button

1 Answer 125 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Maher
Top achievements
Rank 1
Maher asked on 22 Aug 2009, 07:39 PM
Is there a way to set a tooltip for the button of a RadTextBox?  The button shows up when the ShowButton="true" is set.


1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 24 Aug 2009, 07:23 AM
Hi Maher,

Give a try with the following client side  approach to set the tool tip for the button and see whether it helps.

ASPX:
 
  <telerik:RadTextBox ID="RadTextBox1" runat="server" ShowButton="True" ClientEvents-OnLoad="SetToolTip" AutoPostBack="true" OnTextChanged="RadTextBox1_TextChanged" > 
            </telerik:RadTextBox> 

JS:
 
<script type="text/javascript" > 
 function SetToolTip() 
 { 
 
  var btn=document.getElementById("RadTextBox1_GoButton"); 
   btn.title="Click Here"
 } 
</script> 


Regards
Shinu
Tags
ToolTip
Asked by
Maher
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or