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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Need to set a max date value for a datetime column in a DataBoundGrid

Thread ID:





10070 Jan 21,2004 06:30 PM UTC Jan 21,2004 07:37 PM UTC WinForms 1
Tags: GridControl
Todd Armstrong
Asked On January 21, 2004 06:30 PM UTC

Is there any way to do this or do I need to use a validation routine and do the checking myself? If either, how? Thanks.

Administrator [Syncfusion]
Replied On January 21, 2004 07:37 PM UTC

I think you will have to do this in the CurrentCellValidating event. Use grid.CurrentCell.Renderer.ControlText to get teh new string, and if the validation fails, then set e.Cancel = true.


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

Live Chat Icon For mobile
Live Chat Icon