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 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.

Loader.
Up arrow icon