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