Autopostback to filter Icon on grid

2 posts, 0 answers
  1. Avelyn Teh
    Avelyn Teh avatar
    10 posts
    Member since:
    May 2010

    Posted 28 Apr 2011 Link to this post


    Please help, I want to set autopostback to False at Radgrid filterIcon.
    The purpose is to filter by multiple columns at once when I click on a button at  <CommandItemTemplate> .

  2. Tsvetina
    Tsvetina avatar
    2087 posts

    Posted 03 May 2011 Link to this post

    Hello Avelyn,

    You could capture the Filter command on the client to cancel it. This can be achieved if  you wire the client OnCommand event which is fired for each command before it gets executed.

    Then, on button click you can use the FireCommandEvent() method. In the specific case with filtering, you would need to get hold of the GridFilteringItem and fire the command upon it. More information is available at that address.

    Best wishes,
    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.

Back to Top