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

[Solved] Selected Views

5 Answers 165 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
jeremy
Top achievements
Rank 1
jeremy asked on 23 Oct 2007, 12:06 AM
Hi all,

Is it possible to hide day view or weekly view or monthly view?  I can disable it so it does nothing when a user clicks on it but it would be more elegant if I could just hide any or all of the views.

Specifically for this example I want to hide 'month' view tab from the user.

 Can this be done?

Thanks,
Jeremy

5 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 23 Oct 2007, 12:33 PM
Hello Jeremy,

You can hide the MonthView button with the following css style:

.RadScheduler .rsHeader .rsHeaderMonth
{
   display: none;
}



Regards,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
jeremy
Top achievements
Rank 1
answered on 23 Oct 2007, 02:23 PM
Peter,

Thank you for that.  That worked.  As always, great help and great client support.

Regards,
Jeremy
0
Peter
Top achievements
Rank 1
answered on 07 Oct 2009, 03:40 PM
Hi Peter,

I attempted to add the CSS code you provided, but substituted the MonthView for DayView as shown below:

.RadScheduler .rsHeader .rsHeaderDay
{
   display: none;
}

However this code only seems to hide the option to select the DayView when I'm in the day view.  So if I look at the timeline view I can still select day view.

Any ideas?

Thanks

Peter
0
Peter
Telerik team
answered on 08 Oct 2009, 02:45 PM
Hi Peter,

Thank you for reviving this old thread. I am glad to inform you that now RadScheduler provides a more elegant way to hide a view tab. This can be achieved via the UserSelectable property for the specific view. For example:

<MonthView UserSelectable="false"/>
<DayView UserSelectable="false" />



Greetings,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Peter
Top achievements
Rank 1
answered on 09 Oct 2009, 08:57 AM
Thanks for the speedy reply Peter.

The new property makes this a lot simpler.

Cheers,

Peter
Tags
Scheduler
Asked by
jeremy
Top achievements
Rank 1
Answers by
Peter
Telerik team
jeremy
Top achievements
Rank 1
Peter
Top achievements
Rank 1
Share this question
or