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

showweekend checkbox

1 Answer 70 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Ming Zhao
Top achievements
Rank 1
Ming Zhao asked on 07 Apr 2010, 04:10 PM
there is a showweekend checkbox for weeklyview and monthlyview.

We want to disable showeekend checkbox and make it invisible.

How can we do this?

1 Answer, 1 is accepted

Sort by
0
Boyko Markov
Telerik team
answered on 12 Apr 2010, 02:52 PM
Hi Ming Zhao,

In order to hide the "ShowWeekend" check box, you can do the following:

1.  Subscribe to the WeekViewClick and MonthViewClick events of RadSchedulerNavigator.

this.radSchedulerNavigator1.WeekViewClick += new EventHandler(radSchedulerNavigator1_WeekViewClick);

this.radSchedulerNavigator1.MonthViewClick += new EventHandler(radSchedulerNavigator1_MonthViewClick);


2. Hide the check box in the event handlers.

void radSchedulerNavigator1_MonthViewClick(object sender, EventArgs e)
{
    this.radSchedulerNavigator1.ShowWeekendCheckBox.Visibility = ElementVisibility.Collapsed;
}

void radSchedulerNavigator1_WeekViewClick(object sender, EventArgs e)
{
    this.radSchedulerNavigator1.ShowWeekendCheckBox.Visibility = ElementVisibility.Collapsed;
}


I hope this helps.

Best wishes,
Boyko Markov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Scheduler and Reminder
Asked by
Ming Zhao
Top achievements
Rank 1
Answers by
Boyko Markov
Telerik team
Share this question
or