Hi,
I am trying to filter a Template Column with Boolean dataType like so:
<telerik:GridTemplateColumn UniqueName="AfhKwaliteit" DataField="AfhKwaliteit" DataType="System.Boolean" AutoPostBackOnFilter="True" CurrentFilterFunction="EqualTo" FilterDelay="4000" ShowFilterIcon="False">
<ItemTemplate>
<asp:Label TabIndex="1" runat="server" Text='<%#IIf(Container.DataItem("AfhKwaliteit"), "<i class=""fas fa-check-circle text-success""></i>", "<i class=""fas fa-times-circle text-danger""></i>") %>' />
</ItemTemplate>
</telerik:GridTemplateColumn>
When applying a check in one of the filter checkboxes we get:
Uncaught Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: Unable to cast object of type 'System.Web.UI.WebControls.CheckBox' to type 'System.Web.UI.WebControls.TextBox'.
See also attached screenshot.
How should the settings be to filter on boolean values og these four columns?
Marc