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

Filter Error

3 Answers 68 Views
Filter
This is a migrated thread and some comments may be shown as answers.
Che
Top achievements
Rank 1
Che asked on 18 Sep 2010, 06:09 PM
I have three tabs in my grid. I am using filter for my 1st tab and whenever I click the filter I get this error. I tried EnableLinqExpressions="False" , no luck.

Expression expected at Telerik.Web.UI.ExpressionParser.ParsePrimaryStart()
at Telerik.Web.UI.ExpressionParser.ParsePrimary()
at Telerik.Web.UI.ExpressionParser.ParseUnary()
at Telerik.Web.UI.ExpressionParser.ParseMultiplicative()
at Telerik.Web.UI.ExpressionParser.ParseAdditive()
at Telerik.Web.UI.ExpressionParser.ParseComparison()
at Telerik.Web.UI.ExpressionParser.ParseLogicalAnd()
at Telerik.Web.UI.ExpressionParser.ParseLogicalOr()
at Telerik.Web.UI.ExpressionParser.ParseExpression()
at Telerik.Web.UI.ExpressionParser.ParseArguments()
at Telerik.Web.UI.ExpressionParser.ParseArgumentList()
at Telerik.Web.UI.ExpressionParser.ParseIif()
at Telerik.Web.UI.ExpressionParser.ParseIdentifier()
at Telerik.Web.UI.ExpressionParser.ParsePrimaryStart()
at Telerik.Web.UI.ExpressionParser.ParsePrimary()
at Telerik.Web.UI.ExpressionParser.ParseUnary()
at Telerik.Web.UI.ExpressionParser.ParseMultiplicative()
at Telerik.Web.UI.ExpressionParser.ParseAdditive()
at Telerik.Web.UI.ExpressionParser.ParseComparison()
at Telerik.Web.UI.ExpressionParser.ParseLogicalAnd()
at Telerik.Web.UI.ExpressionParser.ParseLogicalOr()
at Telerik.Web.UI.ExpressionParser.ParseExpression()
at Telerik.Web.UI.ExpressionParser.ParseParenExpression()
at Telerik.Web.UI.ExpressionParser.ParsePrimaryStart()
at Telerik.Web.UI.ExpressionParser.ParsePrimary()
at Telerik.Web.UI.ExpressionParser.ParseUnary()
at Telerik.Web.UI.ExpressionParser.ParseMultiplicative()
at Telerik.Web.UI.ExpressionParser.ParseAdditive()
at Telerik.Web.UI.ExpressionParser.ParseComparison()
at Telerik.Web.UI.ExpressionParser.ParseLogicalAnd()
at Telerik.Web.UI.ExpressionParser.ParseLogicalOr()
at Telerik.Web.UI.ExpressionParser.ParseExpression()
at Telerik.Web.UI.ExpressionParser.Parse(Type resultType)
at Telerik.Web.UI.DynamicExpression.ParseLambda(ParameterExpression[] parameters, Type resultType, String expression, Object[] values)
at Telerik.Web.UI.DynamicExpression.ParseLambda(Type itType, Type resultType, String expression, Object[] values)
at Telerik.Web.UI.GridDynamicQueryable.Where(IQueryable source, String predicate, Object[] values)
at Telerik.Web.UI.GridDataTableFromEnumerable.FillData35()
at Telerik.Web.UI.GridDataTableFromEnumerable.FillData()
at Telerik.Web.UI.GridResolveEnumerable.Initialize()
at Telerik.Web.UI.GridResolveEnumerable.EnsureInitialized()
at Telerik.Web.UI.GridResolveEnumerable.get_DataTable()
at Telerik.Web.UI.GridEnumerableFromDataView..ctor(GridTableView owner, IEnumerable enumerable, Boolean CaseSensitive, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields)
at Telerik.Web.UI.GridDataSourceHelper.CreateGridEnumerable(GridTableView owner, IEnumerable enumerable, Boolean caseSensitive, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields)
at Telerik.Web.UI.GridDataSourceHelper.GetResolvedDataSource(GridTableView owner, Object dataSource, String dataMember, Boolean caseSensitive, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields)
at Telerik.Web.UI.GridTableView.get_ResolvedDataSource()
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.GridFilterCommandEventArgs.ExecuteCommand(Object source)
at Telerik.Web.UI.RadGrid.OnBubbleEvent(Object source, EventArgs e)
at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
at Telerik.Web.UI.GridItem.OnBubbleEvent(Object source, EventArgs e)
at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
at Telerik.Web.UI.GridItem.OnBubbleEvent(Object source, EventArgs e)
at Telerik.Web.UI.GridItem.FireCommandEvent(String commandName, Object commandArgument)
at Telerik.Web.UI.RadGrid.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

3 Answers, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 21 Sep 2010, 03:26 PM
Hello Che,

Can you share the RadGrid and RadFilter controls declaration as well as the server-side code you are using? Also specify if the RadGrid and the RadFilter are in the same container.

Sincerely yours,
Iana
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
0
Che
Top achievements
Rank 1
answered on 23 Sep 2010, 02:02 AM
I will try to get the code by this weekend, for the time being I am sharing the below info

it has 5 tabs and two of them has child rows.
filter works fine for child rows but not for parent row
the only property I used for filter in child row is allowfiltering='true' which is not working for parent row

what do u mean by "specify if the RadGrid and the RadFilter are in the same container"??
0
Iana Tsolova
Telerik team
answered on 27 Sep 2010, 11:50 AM
Hello Che,

By "specify if the RadGrid and the RadFilter are in the same container" I was asking if the RadGrid and the RadFilter are plaiced in the same parent control, for instance in the same ASP:Panel, PageView, etc.

Are the child rows child tabs or you have hierarchical RadGrid?

All the best,
Iana
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
Filter
Asked by
Che
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Che
Top achievements
Rank 1
Share this question
or