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));
        }
Esempio n. 2
0
 public void CreateTimeRulerFormatStringService()
 {
     this.prevTimeRulerFormatStringService   = (ITimeRulerFormatStringService)ASPxScheduler1.GetService(typeof(ITimeRulerFormatStringService));
     this.customTimeRulerFormatStringService = new CustomTimeRulerFormatStringService(prevTimeRulerFormatStringService);
 }
Esempio n. 3
0
 public void CreateHeaderToolTipService()
 {
     this.prevHeaderToolTipService   = (IHeaderToolTipService)ASPxScheduler1.GetService(typeof(IHeaderToolTipService));
     this.customHeaderToolTipService = new CustomHeaderToolTipService(prevHeaderToolTipService);
 }
Esempio n. 4
0
 public void CreateAppointmentFormatStringService()
 {
     this.prevAppointmentFormatStringService   = (IAppointmentFormatStringService)ASPxScheduler1.GetService(typeof(IAppointmentFormatStringService));
     this.customAppointmentFormatStringService = new CustomAppointmentFormatStringService(prevAppointmentFormatStringService);
 }