Show Only Current Week in Week View

2 posts, 0 answers
  1. Joe
    Joe avatar
    49 posts
    Member since:
    May 2008

    Posted 20 Jun 2011 Link to this post

    Hello, I would ideally only like to show the current and last week in the Week View based on today's date in the Rad Scheduler.  Of course I will settle for just showing the current week if that is easier to explain, and then I can figure out the rest.   So I load the Scheduler and I set the SelectedDate to today, I hide all other views so only Week View is showing (i have this part already) and the only weeks they can access and/or view are the current week and last week.  Is there a way to do this?  Or only allow a certain date range to show in the scheduler.

    They can then only click back and forth to view last week and this week.  I would image I would have to hide the date picker in the upper left so they cannot select other dates.  Thank you for your help!

  2. Veronica
    Veronica avatar
    1213 posts

    Posted 23 Jun 2011 Link to this post

    Hi Joe,

    Yes, one possible solution is to hide all other views and show only the Week View. However you need to make further calculations for the previous/next navigation for the current and last weeks.

    Another possible solution is to show only the MonthView and disable the option to navigate to previous/next months. You can highlight the current and last weeks in the month view as shown for the current date in this forum post

    Veronica Milcheva
    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.

Back to Top