This is a migrated thread and some comments may be shown as answers.

RadSchedular Calender Date Change Event Issue

1 Answer 96 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Haroon
Top achievements
Rank 1
Haroon asked on 08 Nov 2014, 08:19 PM
I have applied filter on data, but when I change selecteddate from scheduler calendar control, it looses filtered data. Also I didn't have any event which is called on change selecteddate to rebind filtered data.

1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 12 Nov 2014, 03:21 PM
Hello Haroon,

In order to achieve the desired implementation, you could use the OnNavigationComplete server-side event of the RadScheduler, which is triggered when you select a data from the calendar and the navigation is completed. In addition,  in order to verify that the NavigationCommand is triggered by the calendar, you could check the Command of the EventArguments, which should be NavigateToSelectedDate in this case. Please consider the below approach :

protected void RadScheduler1_NavigationComplete(object sender, SchedulerNavigationCompleteEventArgs e)
  {
      if(e.Command == SchedulerNavigationCommand.NavigateToSelectedDate)
      {
          // perform rebind here
      }
  }


Regards,
Nencho
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Scheduler
Asked by
Haroon
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Share this question
or