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

Force resources to reload

1 Answer 86 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Roger
Top achievements
Rank 1
Roger asked on 20 Mar 2016, 05:28 PM

Hi thee,

I am using Rad Scheduler ASP.Net version 2015 Q1.

 

I am populating appointments using a web service, passing in custom properties and that all works wonderfully.

I have a scenario where I wish to show appointments for a set of resources, and then allow the user to see the data just for a subset of those resources. This selection is via a set of checkboxes. While it is easy to just show the appointments for the selected resources using rebind(), the un-selected resources still show in the grid.

In the attached image, I want the Scheduler to just show the data for the users that have are checked, not for "Grant" or "Roger". My code successfully won't show the appointments for "Grant" or "Roger", but does not remove them from the grid.

 

In this scenario I am happy for a post-back to occur if necessary, but when I do that the resources that are used to generate the grid are re-used, rather than being repopulated. Is there any way to force the resources to be repopulated from the client-side?

 

1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 23 Mar 2016, 01:38 PM
Hello Roger,

In the attachment you can find a sample project, where the scenario you aim to achieve is implemented. From the DropDown with checkboxes you can define which resources should be visible in the RadScheduler, after clicking the Filter button.

Note: the scenario is applicable only in server binding.

Hope this would help.

Regards,
Nencho
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
Scheduler
Asked by
Roger
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Share this question
or