We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to validate an Expression

Thread ID:





67080 Aug 8,2007 12:53 PM UTC Aug 8,2007 07:48 PM UTC WinForms 1
Tags: GridControl
Tharindu Pati
Asked On August 8, 2007 12:53 PM UTC


I am tring to add a column with a expression dynmaically to gridgroupingcontrol.
Since its dynamic user is spesifing the expression dynamincally. So it could be invalid expression. When this happen no expception is thrown but data and the gridgroupingcontrol become unresponsive.

Is there away to check the validiy of the expression before bunding it to the controls.



Administrator [Syncfusion]
Replied On August 8, 2007 07:48 PM UTC

If you have a string you want to test as being a valid expression, you can use the grid.TableDescriptor.ExpressionFieldEvaluator.IsExpressionValid method to do so.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon