How to hide DayView/WorkWeekView/Month View/Timeline Views in deexpress ASPxScheduler.
How to disable DayView/WorkWeekView/Month View/Timeline Views in deexpress ASPxScheduler.
Here schTaskCalendar is ASPxScheduler ID which is used in our requirement
Use the following code lines in your Page_Load. it will hides/disables DayView/WorkWeekView from your ASPxScheduler control.
Code:
protected void Page_Load(object sender, EventArgs e)
{
DevExpress.Web.ASPxScheduler.SchedulerViewRepository baseviews = schTaskCalendar.Views;
baseviews.DayView.Enabled = false;
baseviews.WorkWeekView.Enabled = false;
} baseviews.DayView.Enabled = false;
baseviews.WorkWeekView.Enabled = false;
No comments:
Post a Comment