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

RadTooltip with RadDatePicker

2 Answers 90 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Michele
Top achievements
Rank 1
Michele asked on 22 May 2012, 08:03 PM
I have a RadDatePicker control in an EditForm Template of a RadGrid. How can I attach a RadToolTip to this datepicker control? I tried the suggestions from other posts where IsClient=true and I appended "_dateInput_text" to the targetcontrolid but  I am not able to get the RadTooltip to display for the RadDatePicker. Does the RadTooltip work with the RadDatePicker control?  If not, can I use the jQuery Qtip with the RadDatePicker?

I have been able to get the RadTooltip to work in this EditForm Template with an asp textbox control and also with the RadEditor control.

I'm using the latest runtime version v4.0.30319 of the Telerik ASP.Net AJAX Suite and ASP.NET 4.0.

Thank you.

2 Answers, 1 is accepted

Sort by
0
Accepted
Marin Bratanov
Telerik team
answered on 24 May 2012, 04:11 PM
Hello Michele,

The ClientID of the date picker in this case is more than just its server id and a suffix to indicate the input. Since the control is in a grid hierarchy there are several other INaming containers above it, so its ID is different. It can be accessed in when the edit item is created, as shown in this help article: http://www.telerik.com/help/aspnet-ajax/grid-reference-controls-in-edit-form.html. For your convenience I am attaching a simple page that shows this in action. Note that I have chosen the input wrapper as a target for the tooltip, yet you can inspect the rendered HTML and choose the suffix for the button or the entire datepicker control.


All the best,
Marin Bratanov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Michele
Top achievements
Rank 1
answered on 24 May 2012, 07:57 PM
Works like a charm!!!  Many thanks.
Tags
ToolTip
Asked by
Michele
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Michele
Top achievements
Rank 1
Share this question
or