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

Filtering ItemTemplate (not column)

1 Answer 37 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Alan T
Top achievements
Rank 1
Alan T asked on 01 Jun 2010, 01:25 PM
Hi there, I have a RadGrid with an Item tempalte


<telerik:RadGrid.... >
<ItemTemplate>
.....
</ItemTemplate>
</telerik:RadGrid>

I'd like to filter the items in my item template, based on a value selected in a treeview. In this case the treeview contains, property types - bungalow, house etc, and the itemtemplate contains a table displaying the various information on a property.

Is this possible ?

In the selectednodechanged event i'm attempting to apply the filtering there.
MyGrid.MasterTableView.FilterExpression = ...

But it can't find the field i'm specifying. Do i have to use a column bound to this datafield in order to filter ?

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 01 Jun 2010, 02:08 PM
Hello Alan,

I suggest that you refer to the help article below in order to get the desired result:
Operating with the FilterExpression of Telerik RadGrid manually

All the best,
Pavlina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Alan T
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or