Example #1
0
 protected void RadScheduler1_NavigationCommand(object sender, SchedulerNavigationCommandEventArgs e)
 {
     if (e.Command == SchedulerNavigationCommand.SwitchToSelectedDay)
     {
         RadCalendar1.SelectedDate = e.SelectedDate;
         SyncCalendars();
     }
 }
Example #2
0
 protected void RS_Agenda_NavigationCommand2(object sender, SchedulerNavigationCommandEventArgs e)
 {
     if (e.Command == SchedulerNavigationCommand.SwitchToTimelineView)
     {
         //RS_agenda.RowHeight = 50;
     }
     else
     {
         // RS_agenda.RowHeight = 20;
     }
 }
Example #3
0
    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;
 }
Example #5
0
 /// <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;
 }
Example #6
0
 protected void rsScheduler_NavigationCommand(object sender, SchedulerNavigationCommandEventArgs e)
 {
     // Do Something before Reloading Data
 }