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

Block dates in DateTimePicker

1 Answer 75 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
rD
Top achievements
Rank 1
rD asked on 04 Aug 2011, 05:57 PM
Hi!

I have a datetimepicker installed in my project. I had to set it to where that the available dates (The dates that can be selected) should always be only days starting from today with the time that can be selected also starting from right now. So I set the MinDate to DateTime.Now.

How can i set it to where it will allow displaying dates older than datetime.now but will only allow dates after DateTime.Now to be entered in the datetime.picker.

Any suggestions and solutions are much appreciated.

Thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Mira
Telerik team
answered on 10 Aug 2011, 08:58 AM
Hello Rd,

I have followed your scenario and prepared a sample project for you demonstrating how the desired functionality can be implemented. You can find it attached to this post.

I hope it helps.

Kind regards,
Mira
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Calendar
Asked by
rD
Top achievements
Rank 1
Answers by
Mira
Telerik team
Share this question
or