How to display the weekly or monthly view in RadScheduler

2 posts, 0 answers
  1. Jiten
    Jiten avatar
    67 posts
    Member since:
    Dec 2010

    Posted 07 Jan 2012 Link to this post

    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
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 09 Jan 2012 Link to this post

    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
Back to Top