I guess I should know this, but... I have a grid where every control does not auto-postback. It allows mult-row edit, has dropdowns, date and time pickers, etc. If one of the fields is invalid, like text in a datepicker, I want to disable the Update button. I believe all of this needs to be done on the client side. And I believe I need to funnel all validation through one JavaScript method that determines if there are any validation issues (btn.enabled=allControlsValid;).
But I want to do this in the most performant manner, which rules out server-side validation. ( ? ) There could be a 100 rows in this grid with 30 columns, and maybe 10 of them are editable. I think the user would perceive a delay if I checked 1000 cells on every cell edit. So I'm guessing the check should only be made when focus moves from one row to another.
Can someone guide me in the right direction?
Thanks!
But I want to do this in the most performant manner, which rules out server-side validation. ( ? ) There could be a 100 rows in this grid with 30 columns, and maybe 10 of them are editable. I think the user would perceive a delay if I checked 1000 cells on every cell edit. So I'm guessing the check should only be made when focus moves from one row to another.
Can someone guide me in the right direction?
Thanks!