protected void Page_Init(object sender, EventArgs e) { IDateTimeNavigationService service = ASPxScheduler1.GetService(typeof(IDateTimeNavigationService)) as IDateTimeNavigationService; ASPxScheduler1.RemoveService(typeof(IDateTimeNavigationService)); ASPxScheduler1.AddService(typeof(IDateTimeNavigationService), new MyDateTimeNavigationService(ASPxScheduler1, service)); }
public void CreateTimeRulerFormatStringService() { this.prevTimeRulerFormatStringService = (ITimeRulerFormatStringService)ASPxScheduler1.GetService(typeof(ITimeRulerFormatStringService)); this.customTimeRulerFormatStringService = new CustomTimeRulerFormatStringService(prevTimeRulerFormatStringService); }
public void CreateHeaderToolTipService() { this.prevHeaderToolTipService = (IHeaderToolTipService)ASPxScheduler1.GetService(typeof(IHeaderToolTipService)); this.customHeaderToolTipService = new CustomHeaderToolTipService(prevHeaderToolTipService); }
public void CreateAppointmentFormatStringService() { this.prevAppointmentFormatStringService = (IAppointmentFormatStringService)ASPxScheduler1.GetService(typeof(IAppointmentFormatStringService)); this.customAppointmentFormatStringService = new CustomAppointmentFormatStringService(prevAppointmentFormatStringService); }