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

[Solved] Issue in Scheduler

1 Answer 95 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Karthick Purushothaman
Top achievements
Rank 1
Karthick Purushothaman asked on 20 Jun 2009, 10:49 AM
Hi,

I am facing an issue in the rad Scheduler.
I can able to book the appointments in the Rad Scheduler. When i made the single clik on the Date cell which had the appointments it redirect me to the Day view. I wan to block this day view. Always i want the month view only when any operations happend on the scheduer.

Can any one help me ragarding how i can able to perform this.

Thanks & Regards,
Sushanth Mathew

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 22 Jun 2009, 01:06 PM
Hello,

Try the following code snippet in order to prevent switching to any other view than 'MonthView'.

CS:
 
protected void RadScheduler1_NavigationCommand(object sender, SchedulerNavigationCommandEventArgs e) 
    if (e.SelectedDay.Month == DateTime.Now.Month) 
    { 
        e.Cancel = true
    } 
    RadScheduler1.SelectedView = SchedulerViewType.MonthView; 

Thanks,
Shinu
Tags
Scheduler
Asked by
Karthick Purushothaman
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or