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

Tool tip

1 Answer 48 Views
Input
This is a migrated thread and some comments may be shown as answers.
Azees
Top achievements
Rank 1
Azees asked on 16 Sep 2008, 11:03 AM
I am using Tooltip for my application
The asp:textbox allow tooltip onfocus event but Radtextbox doesnot show when i am focus to that rad text box 


Its work :

<

asp:TextBox ID="txtCity" runat="server"></asp:TextBox>

<

telerik:RadToolTip ID="RadToolTip9" runat="server" TargetControlID="txtCity"

Text="Address will be given out only to the buyer or seller" ShowEvent="OnFocus" Position="MiddleLeft"

RelativeTo="Element" Skin="Sunset" Width="100">

</telerik:RadToolTip>





Its Not work properly:

<

telerik:RadNumericTextBox ID="txtMobile" runat="server" MaxLength="9" Value="123456789">

<NumberFormat DecimalDigits="0" GroupSeparator="" />

</telerik:RadNumericTextBox>

 

<telerik:RadToolTip ID="RadToolTip13" runat="server" TargetControlID="txtMobile"

Text="Mobile Number will be given out only to the buyer or seller" ShowEvent="OnFocus" Position="MiddleLeft"

 

RelativeTo="Element" Skin="Sunset" Width="100">

 

</telerik:RadToolTip>

how to i show  tool tip for Rad text box
regards
azees


1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 16 Sep 2008, 03:16 PM
Hi Azees,

When using RadToolTip with RadTextBox, you need a little different approach:

<telerik:RadToolTip  TargetControlID="txtMobile_text"  IsClientID="true"  />

This is because RadTextBox consists of one visible textbox and several invisible textboxes (for validation purposes, etc) and the Client ID of the visible textbox is not the same as the server ID of the control.


Kind regards,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Input
Asked by
Azees
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or