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

[Solved] Schedular data range

1 Answer 119 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Faiq
Top achievements
Rank 1
Faiq asked on 15 Jun 2009, 06:14 AM
Hi all,

A small question!
Is there any property or function available so that i could set min and max date range for scheduler. In fact i want to restrict user not to select date less then the current date from scheduler calendar. Kindly help me out.

Regards
Faiq Shah

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 15 Jun 2009, 07:01 AM
Hi Faiq Shah,

Try the following code snippet for setting the RangeMinDate of embedded RadCalendar in Scheduler.

CS:
 
protected void RadScheduler1_PreRender(object sender, EventArgs e) 
    RadCalendar popupCalendar = RadScheduler1.FindControl("SelectedDateCalendar"as RadCalendar; 
    popupCalendar.RangeMinDate = DateTime.Now; 
Hope this helps :)

-Shinu.
Tags
Scheduler
Asked by
Faiq
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or