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

custom filter on dynamic Boolean column

1 Answer 91 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Michael Montgomery
Top achievements
Rank 1
Michael Montgomery asked on 29 Jun 2010, 10:00 PM
I am using a dynamic GridBoundColumn and I'm adding a custom filter (RadComboBox). everything is great except I can't filter--filterItem.FireCommandEvent fails with the exception "Neither of the types 'String' and 'Boolean' converts to the other". Any advice would be appreciated.

 

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 01 Jul 2010, 10:53 AM
Hi Michael,

In order to avoid this exception, you need to convert the combo selected item from string to boolean and pass it to the FireCommandEvent in the filter parameters.

Sincerely yours,
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
Michael Montgomery
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or