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

RadDateTimePicker

2 Answers 87 Views
Calendar, DateTimePicker, TimePicker and Clock
This is a migrated thread and some comments may be shown as answers.
Jeffrey
Top achievements
Rank 1
Jeffrey asked on 11 Jun 2014, 11:21 AM
Hi,
I'm trying to find out how to get the tooltip to display when the mouse is over the main part of the control. With:

ToolTip1.SetToolTip(RTPExpiresOn, "Leaving this as 1/1/1901 will set no expiration date for this document.")

The tooltip will on display when the mouse hovers over the part of the control where you click to select the date. Thanks!

J

2 Answers, 1 is accepted

Sort by
0
Accepted
George
Telerik team
answered on 16 Jun 2014, 08:05 AM
Hello Jeffrey,

Thank you for writing.

RadControls use a little bit different mechanism to show ToolTips. You need to subscribe to the ToolTipTextNeeded event of your RadDateTimePicker amd set the text as follows:
void Form1_ToolTipTextNeeded(object sender, ToolTipTextNeededEventArgs e)
{
    e.ToolTipText = "TEXT";
}

Since we are using RadToolTip, you can read more about it here: RadToolTip | UI for WinForms Documentation.

Let me know, should you have further questions.

Regards,
George
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Jeffrey
Top achievements
Rank 1
answered on 16 Jun 2014, 02:21 PM
Thanks so much!
Tags
Calendar, DateTimePicker, TimePicker and Clock
Asked by
Jeffrey
Top achievements
Rank 1
Answers by
George
Telerik team
Jeffrey
Top achievements
Rank 1
Share this question
or