Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
265
Validating mulitple grids on the same page after button click
posted

I have 2 grids on my page. Each grid has its own custom validation. Page has only one save button. Up on Save_click event I need to do as follows

1) Do not save any row if any  row in any grid has failed the vaildation and I need to give an error message.

2) Even if all the rows in the first grid are valid but not in second grid? how do you stop saving the rows of first grid to database

3) I have enabled the Column:Allow update to yes in both the grids. When I tried to see the edited value in grd_updateRowBatchevent, I only see the previous value but not the edited value by the user. So how to check the validation of rows in both the grids.

Thanks