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

Show Only Current Week in Week View

1 Answer 104 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 1
Joe asked on 21 Jun 2011, 02:58 AM
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!

joe

1 Answer, 1 is accepted

Sort by
0
Veronica
Telerik team
answered on 23 Jun 2011, 12:43 PM
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

Regards,
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.

Tags
Scheduler
Asked by
Joe
Top achievements
Rank 1
Answers by
Veronica
Telerik team
Share this question
or