Hi!
I have a RadGrid with 6 columns.
Filter is enabled on all columns.
In my first column, I have used a FilterTemplate to display a DropDown containing all my product categories.
Some of the categories have the same name, but different id's.
When I select a category from the dropdown, a client filtering is performed on the category name.
Now the grid contains all products where the category name is equal to the name in the drop down.
I want the filtering to occure on the value of the dropdown and not the name.
I tried to add a BoundColumn containing the CategoryId and filter on that column. This works fine when the column is visible, but when I set it to Display="false", no filtering occurs.
Any suggestions?
Regards
Per
I have a RadGrid with 6 columns.
Filter is enabled on all columns.
In my first column, I have used a FilterTemplate to display a DropDown containing all my product categories.
Some of the categories have the same name, but different id's.
When I select a category from the dropdown, a client filtering is performed on the category name.
Now the grid contains all products where the category name is equal to the name in the drop down.
I want the filtering to occure on the value of the dropdown and not the name.
I tried to add a BoundColumn containing the CategoryId and filter on that column. This works fine when the column is visible, but when I set it to Display="false", no filtering occurs.
Any suggestions?
Regards
Per