I am using Filter with Grid. If I set FieldName in the FieldEditors that is not in the Grid column (but from binded table), I get null reference exception after call RadFilter1.FireApplyCommand(). Is it Filter control limitation? If yes, is there work around?
Stack trace:
at Telerik.Web.UI.RadFilterDataFieldEditor.CreateEditorFrom(RadFilterDataFieldEditor baseEditor)
at Telerik.Web.UI.RadFilterSingleExpressionItem.SetupFunctionInterface(Control container)
at Telerik.Web.UI.RadFilterExpressionItem.CreateFunctionalInterface()
at Telerik.Web.UI.RadFilterExpressionItem.InitializeItem()
at Telerik.Web.UI.RadFilter.CreateFilterItems()
at Telerik.Web.UI.RadFilter.CreateControlHierarchy()
at Telerik.Web.UI.RadFilter.CreateChildControls()
at System.Web.UI.Control.EnsureChildControls()
at Telerik.Web.UI.RadFilter.RecreateControl()
at Telerik.Web.UI.RadFilter.ContainerFieldDescriptorsReady(Object sender, RadFilterFildDesciptorsEventArgs e)
at Telerik.Web.UI.RadGrid.OnFieldDescriptorsReady(RadFilterFildDesciptorsEventArgs e)
at Telerik.Web.UI.RadGrid.UpdateFilterControl()
at Telerik.Web.UI.GridTableView.SavePagingData(Boolean useDataSource, GridPagingManager paging)
at Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource)
at Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource)
at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data)
at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data)
at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)
at System.Web.UI.WebControls.DataBoundControl.PerformSelect()
at Telerik.Web.UI.GridTableView.PerformSelect()
at System.Web.UI.WebControls.BaseDataBoundControl.DataBind()
at Telerik.Web.UI.GridTableView.DataBind()
at Telerik.Web.UI.GridTableView.Rebind()
at Telerik.Web.UI.RadGrid.Telerik.Web.UI.IRadFilterableContainer.ApplyFilterExpressions(RadFilterGroupExpression expressionRoot, Boolean shouldBind)
at Telerik.Web.UI.RadFilter.HandleApplyCommand()
at Telerik.Web.UI.RadFilter.FireApplyCommand()
...