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

ToolTipContent

1 Answer 37 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
Nick Smith
Top achievements
Rank 1
Nick Smith asked on 11 Feb 2011, 04:02 PM
Hi, I have a trouble using RadDatePicker Control.

When I input to the control "12.03.89" ToolTip suggest me 12.03.2089 but I want 12.03.1989. How to get it?
I've tried such way - to change ToolTipContent property in ParseDateTimeValue handler. But it doesn't work. Maybe you know the way how to solve my trouble?

Thanks for help.

1 Answer, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 16 Feb 2011, 08:56 AM
Hi Nick Smith,

You have to set the date as a result to the ParseDateTimeEventArgs parameter. Follow the code bellow:

private void radTimePicker_ParseDateTimeValue(object sender, Telerik.Windows.Controls.ParseDateTimeEventArgs args)
        {
            args.Result = DateTime.Now.Date;
        }

Kind regards,
Kaloyan
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
DatePicker
Asked by
Nick Smith
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Share this question
or