RadSchedular Calender Date Change Event Issue

2 posts, 0 answers
  1. Haroon
    Haroon avatar
    2 posts
    Member since:
    Sep 2014

    Posted 08 Nov 2014 Link to this post

    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.
  2. Nencho
    Admin
    Nencho avatar
    1458 posts

    Posted 12 Nov 2014 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top