I have an ASP.Net page with the following few controls:
In my code behind page, if I added a tooltip to the TextBox and the RadDatePicker, then view the page in my browser, the tooltips render just fine.
If I explicitly add these controls to the tooltip manager, the textbox still renders the tooltip correctly and the RadDatePicker does not render the tool tip correctly. The tooltip shows up as a stander HTML tooltip.
Do you have a reason why it would work this way? When a page only has one tool tip manager, should I be explicitly adding the controls to the manager?
Thanks in advance!
<asp:ScriptManager ID="Scriptmanager1" runat="server"> |
</asp:ScriptManager> |
<telerik:RadDatePicker ID="RadDatePicker1" runat="server" > |
</telerik:RadDatePicker> |
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> |
<telerik:RadToolTipManager Position="BottomRight" ID="RadToolTipManager1" runat="server"> |
</telerik:RadToolTipManager> |
In my code behind page, if I added a tooltip to the TextBox and the RadDatePicker, then view the page in my browser, the tooltips render just fine.
protected void Page_Load(object sender, EventArgs e) |
{ |
RadDatePicker1.ToolTip = "Added through c#"; |
TextBox1.ToolTip = "Added through c#"; |
} |
If I explicitly add these controls to the tooltip manager, the textbox still renders the tooltip correctly and the RadDatePicker does not render the tool tip correctly. The tooltip shows up as a stander HTML tooltip.
protected void Page_Load(object sender, EventArgs e) |
{ |
RadDatePicker1.ToolTip = "Added through c#"; |
TextBox1.ToolTip = "Added through c#"; |
RadToolTipManager1.TargetControls.Add(TextBox1.ID); |
RadToolTipManager1.TargetControls.Add(RadDatePicker1.ID); |
} |
Do you have a reason why it would work this way? When a page only has one tool tip manager, should I be explicitly adding the controls to the manager?
Thanks in advance!