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

[Solved] using Filter templates

1 Answer 99 Views
Grid
This is a migrated thread and some comments may be shown as answers.
p
Top achievements
Rank 1
p asked on 04 Aug 2009, 06:25 PM
Hi,

I have a grid and for some of the columns i have used custom filter templates.
When i worked on this grid, I ended up writing custom filter logic and i used the following code

          If e.CommandName = radGrid.FilterCommandName Then
                e.Canceled = True
                Filter()
            End If
In the Filter () function i build a filter expression and assign it to the grid.

What i want to know is , do i have to have use custom filter logic if i use custom filter templates?


PS

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 05 Aug 2009, 05:22 AM
Hello,

When using FilterTemplates, you would have to invoke the filter command explicitly and pass the required filter parameters, so as to get filtering done in your grid. The following demo explains on using FilterTemplates, refer to it to undertand better:
Filter Templates

Also take a look at the following help document:
Filter template

Thanks
Princy.
Tags
Grid
Asked by
p
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or