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

Autopostback to filter Icon on grid

1 Answer 62 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Avelyn Teh
Top achievements
Rank 1
Avelyn Teh asked on 28 Apr 2011, 11:56 AM
Hi,

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> .

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 03 May 2011, 02:19 PM
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,
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.

Tags
Grid
Asked by
Avelyn Teh
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or