protected void RadScheduler1_NavigationCommand(object sender, SchedulerNavigationCommandEventArgs e) { if (e.Command == SchedulerNavigationCommand.SwitchToSelectedDay) { RadCalendar1.SelectedDate = e.SelectedDate; SyncCalendars(); } }
protected void RS_Agenda_NavigationCommand2(object sender, SchedulerNavigationCommandEventArgs e) { if (e.Command == SchedulerNavigationCommand.SwitchToTimelineView) { //RS_agenda.RowHeight = 50; } else { // RS_agenda.RowHeight = 20; } }
protected void EventScheduler_NavigationCommand(object sender, SchedulerNavigationCommandEventArgs e) { switch (e.Command) { case SchedulerNavigationCommand.NavigateToPreviousPeriod: //EventScheduler.SelectedDate = Utility.GetDate(Utility.Commands.Prev, EventScheduler.SelectedDate); break; case SchedulerNavigationCommand.NavigateToNextPeriod: EventScheduler.SelectedDate = Utility.GetDate(Utility.Commands.Next, EventScheduler.SelectedDate); break; } }
/// <summary> /// Handles the <see cref="RadScheduler.NavigationCommand"/> event of the <see cref="EventsCalendarDisplay"/> control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="SchedulerNavigationCommandEventArgs"/> instance containing the event data.</param> private void EventsCalendarDisplay_NavigationCommand(object sender, SchedulerNavigationCommandEventArgs e) { this.ToolTipEventId = null; }
/// <summary> /// Handles the <see cref="RadScheduler.NavigationCommand"/> event of the <see cref="EventsCalendarDisplay"/> control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="SchedulerNavigationCommandEventArgs"/> instance containing the event data.</param> private void EventsCalendarDisplay_NavigationCommand(object sender, SchedulerNavigationCommandEventArgs e) { this.ToolTipEventId = null; }
protected void rsScheduler_NavigationCommand(object sender, SchedulerNavigationCommandEventArgs e) { // Do Something before Reloading Data }