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

[Solved] Initiate Filtering on Command Button Click

1 Answer 121 Views
Grid
This is a migrated thread and some comments may be shown as answers.
kencox
Top achievements
Rank 1
kencox asked on 20 Jul 2009, 04:06 PM

Hello,

I have a Filter button inside the <CommandItemTemplate>.

 

 <asp:Button ID="btnFilterCommand" CommandName="Filter" Style="font-size: xx-small"

 runat="server" Text="Filter" />

  

I have preset the filtering like this:

 

<telerik:GridBoundColumn MaxLength="40" DataField="Description" HeaderText="Description"

 CurrentFilterFunction="StartsWith" AutoPostBackOnFilter="false" FilterControlWidth="200px"

 SortExpression="Description" UniqueName="Description">

 </telerik:GridBoundColumn>

  

I want the user to be able to enter the filter text and filter type for each column and initiate filtering only on the Filter button click (not when selecting a filter type).

Could someone point me to an example of this or give me some guidance?

Thanks,

Ken

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 21 Jul 2009, 04:36 AM
Hi Ken,

Here is a help article which explains how to achieve Filtering in Grid using a Button in the CommandItemTemplate. Go through it and see whether it helps.
Search on key press/button click

Shinu
Tags
Grid
Asked by
kencox
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or