Posted 8 September 2017, 11:33 am EST
Hi,
I am using date cells, currency cells, and so on in my grids. For each of these, I am using the intrinsic cell type properties for range validation.
For example, in one scenario, the date cells have a minimum value of 1/1/2012, and a maximum value of 12/31/2012. When the user enters an invalid date (for example 2/31/2012), or a date outside the maximum/minimum range (for example, 12/31/2011), the grid turns the forecolor Red and the backcolor Yellow to indicate a validation error. (So far, so good!)
I need to take the validation one step further. When a postback occurs, I want to notify the user: "You have invalid date entries. Please check and correct." There are a number of ways I could do the notification (either client-side or server-side) but what I need to know is, how can I tell (either client-side or server-side) that there are cells that have failed validation?
(Note: EnableClientScript is set to True.)
Thank you,
C17