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

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

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.

1 Reply

AD Administrator Syncfusion Team January 21, 2004 02:37 PM

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.

Loader.
Live Chat Icon For mobile
Up arrow icon