Force resources to reload

2 posts, 0 answers
  1. Roger
    Roger avatar
    1 posts
    Member since:
    Feb 2012

    Posted 20 Mar Link to this post

    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?

     

  2. Nencho
    Admin
    Nencho avatar
    1458 posts

    Posted 23 Mar Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top