Hi
In my application, I have created a custom template that can display ID - Name pairs in one cell. The problem is, that I cannot use filtering in this case.
I have specified DataMemberBinding for the column, but instead of binding directly to a property, I use a converter on the Binding to retrieve the value from the data object (converter gets the id and the name and puts them in a string). The converter works well in Excel export, however filtering options is still missing in the GUI.
Binding bnd0 = new Binding(".");
bnd0.Converter = new IDValueColumnToStringConverter();
bnd0.Mode = BindingMode.OneWay;
...
return new GridViewDataColumn() {... DataMemberBinding=bnd0 };
Filtering icon is not displayed at all. Is there any workaround on this issue? Can I write custom filtering methods, but use the design of Telerik filtering dialogs?
Thanks for the help in advance,
G. M.
In my application, I have created a custom template that can display ID - Name pairs in one cell. The problem is, that I cannot use filtering in this case.
I have specified DataMemberBinding for the column, but instead of binding directly to a property, I use a converter on the Binding to retrieve the value from the data object (converter gets the id and the name and puts them in a string). The converter works well in Excel export, however filtering options is still missing in the GUI.
Binding bnd0 = new Binding(".");
bnd0.Converter = new IDValueColumnToStringConverter();
bnd0.Mode = BindingMode.OneWay;
...
return new GridViewDataColumn() {... DataMemberBinding=bnd0 };
Filtering icon is not displayed at all. Is there any workaround on this issue? Can I write custom filtering methods, but use the design of Telerik filtering dialogs?
Thanks for the help in advance,
G. M.