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

setting default date on datepicker pop up only

5 Answers 1404 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Roger
Top achievements
Rank 1
Roger asked on 29 Jul 2008, 11:06 PM
Hi,

I was wondering if there was a way to set the default date on the pop up calendar of a date picker without entering the date in the input box?

Regards
Roger

5 Answers, 1 is accepted

Sort by
0
Roger
Top achievements
Rank 1
answered on 30 Jul 2008, 01:14 AM
Hi,

I have found the solution using the "Special Days" example.

Now is there anything to set the defult time on the RadTimeView control?

Regards
0
Maria Ilieva
Telerik team
answered on 31 Jul 2008, 02:08 PM
Hello Roger,

Unfortunately the Calendar's API does not provide such functionalities for the TimeView component.

Best regards,
Maria Ilieva
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Chummy
Top achievements
Rank 1
answered on 23 Nov 2011, 01:05 PM
Hi Maria, is it possible to have the DatePicker show today's date as the default value?

Thank you

Kind regards
Gary (gary@sharepoint360.com)

0
Princy
Top achievements
Rank 2
answered on 23 Nov 2011, 01:13 PM
Hello,

You can set the SelectedDate property of RadDatePicker as today's date.

Thanks,
Princy.
0
Maria Ilieva
Telerik team
answered on 23 Nov 2011, 03:52 PM
Hello Chummy,

You could set the following:
RadDatePicker1.SelectedDate = DateTime.Today;

I hope this helps.

Kind regards,
Maria Ilieva
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
Tags
Calendar
Asked by
Roger
Top achievements
Rank 1
Answers by
Roger
Top achievements
Rank 1
Maria Ilieva
Telerik team
Chummy
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Share this question
or