Hi,
is there a way to switch the raddatetimepicker navigation buttons so the right arrow will go backwards and the left will go forward?
i also want to set the fastnavigation button (two arrows button) number of periods through the designer.
so far i've accomplished this by:
hope i can do it more easily... and with less code :)
is there a way to switch the raddatetimepicker navigation buttons so the right arrow will go backwards and the left will go forward?
i also want to set the fastnavigation button (two arrows button) number of periods through the designer.
so far i've accomplished this by:
((RadDateTimePickerCalendar)this.dtpFromTaarich.DateTimePickerElement.GetCurrentBehavior()).Calendar.Navigating += new CalendarNavigatingEventHandler(dtp_Navigating);void dtp_Navigating(object sender, Telerik.WinControls.UI.CalendarNavigatingEventArgs e) { if (e.Direction == Telerik.WinControls.UI.CalendarNavigationDirection.Forward) { if (!e.IsFastNavigation) e.StartDate = (sender as RadCalendar).CalendarElement.View.ViewStartDate.AddMonths(-1); else e.StartDate = (sender as RadCalendar).CalendarElement.View.ViewStartDate.AddMonths(-12); } else if (!e.IsFastNavigation) { e.StartDate = (sender as RadCalendar).CalendarElement.View.ViewStartDate.AddMonths(1); } else e.StartDate = (sender as RadCalendar).CalendarElement.View.ViewStartDate.AddMonths(12); }hope i can do it more easily... and with less code :)