Set grid datasource from javascript

2 posts, 0 answers
  1. rtech
    rtech avatar
    11 posts
    Member since:
    Apr 2007

    Posted 20 Dec 2010 Link to this post

    hi guys ,
    I have radgrid and radpanelbar , i create some filter for radgrid in radpanel bar and I want when user click in filter type in panel bar grid filter by that . how can i do this ?

  2. Tsvetina
    Admin
    Tsvetina avatar
    1611 posts
    Member since:
    Sep 2012

    Posted 22 Dec 2010 Link to this post

    Hi,

    I am not absolutely sure if I understand your requirements but if you want to apply a filter to RadGrid that is not generated by its built-in filtering, you could try the folowing:

    1. Trigger a filter command by using the FireCommandEvent method.
    2. Then, you can apply the custom filter expression to the control and rebind it, as done in the Example 2 code-snippet in this help article.

    I hope this helps.

    Kind regards,
    Tsvetina
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. DevCraft Release
Back to Top