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.
Unfortunately, activation email could not send to your email. Please try again.

How to validate an Expression

Thread ID:

Created:

Updated:

Platform:

Replies:

67080 Aug 8,2007 08:53 AM Aug 8,2007 03:48 PM Windows Forms 1
loading
Tags: GridControl
Tharindu Pati
Asked On August 8, 2007 08:53 AM

Hi,

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.

Thanks

Tharindu


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

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.

CONFIRMATION

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.

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.

;