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

filter expression for grid

1 Answer 130 Views
Filter
This is a migrated thread and some comments may be shown as answers.
Jiju
Top achievements
Rank 1
Jiju asked on 13 Dec 2012, 10:43 AM
Hi,
In my page, i use a rad grid, which creates programatically by adding gridboundcolumns, and to filter the columns i use a rad filter.
I use the grid to bind different data source to display the contents. when i set the data source to this grid , it displays the header text in filter expression. and when i change the datasource to another, the filter expression changes to the new header texts.
The datafield of one column in first datasource is same as the datafield of second. so when displaying the grid with first datasource, the filter expression is same as the header text but when binding the second datasource, because of using the same datafield mentioned in first datasource, the header text which is used in first datasource is showing in the filter expression.
how can i display the header text of second datasource in the filter expression.

thanks in advance
Jiju

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 18 Dec 2012, 09:17 AM
Hello Jiju,

The following thread explains how to use the grid filter expressions:
http://www.telerik.com/help/aspnet-ajax/grid-operate-with-filter-expression-manually.html

I hope this will prove helpful.

Kind regards,
Eyup
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Filter
Asked by
Jiju
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or