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

How to display the weekly or monthly view in RadScheduler

1 Answer 83 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Jiten
Top achievements
Rank 1
Jiten asked on 07 Jan 2012, 02:47 PM
Hello,
I want to display the Weekly or Monthly view without click in the navigation or setting the property(SelectedView).
I want setting using C# code to display weekly or Monthly view in the calender. I don't want to assign like this SelectedView="WeekView".
Please help me as soon as possible.

Thanks
Best Regards

Jiten

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 09 Jan 2012, 10:25 AM
Hi,

You can set the SelectedView dynamically in code-behind:
protected void Page_Load(object sender, EventArgs e)
   {
       if (!IsPostBack)
       {
           RadScheduler1.SelectedView = SchedulerViewType.WeekView;
       }
   }

If there are reasons why you cannot use this approach, please explain why so we can try to find an alternative solution.

Kind regards,
Peter
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
Scheduler
Asked by
Jiten
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or