Hi,
I am trying to use the RadFilter to create a customer filter. The code is as follows:
and the code behind is...
The filter displays correctly, and I can add criteria. However, as soon as I change the condition from 'Some Bool' to 'Some Text' I get the following error:
Specified argument was out of the range of valid values.
Any ideas?
Thanks.
I am trying to use the RadFilter to create a customer filter. The code is as follows:
<% @ Control Language="vb" AutoEventWireup="false" CodeBehind="ReportCriteria.ascx.vb" Inherits="xxx.ReportCriteria" %>
<% @ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<telerik:RadFilter runat="server" ID="RadFilter1" |
OnApplyExpressions="RadFilter1_ApplyExpressions"> |
<FieldEditors> |
<telerik:RadFilterBooleanFieldEditor FieldName="Some Bool" /> |
<telerik:RadFilterTextFieldEditor FieldName="Some Text" /> |
</FieldEditors> |
</telerik:RadFilter> |
and the code behind is...
Imports Telerik.Web.UI |
Partial Public Class ReportCriteria |
Inherits System.Web.UI.UserControl |
Protected Sub RadFilter1_ApplyExpressions(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadFilterApplyExpressionsEventArgs) |
Dim provider As New RadFilterSqlQueryProvider() |
provider.ProcessGroup(e.ExpressionRoot) |
ltlDebug.Text = provider.Result |
End Sub |
End Class |
The filter displays correctly, and I can add criteria. However, as soon as I change the condition from 'Some Bool' to 'Some Text' I get the following error:
Specified argument was out of the range of valid values.
Parameter name: HierarchicalIndex
|
Any ideas?
Thanks.