This question is locked. New answers and comments are not allowed.
Hi:
I am using the grid with Ajax binding and pop up editing. During the grid action call, I'm doing additional validation on the data returned.
If the data fails validation, I'm adding a model error to the model state.
When I rebind the grid via the return View(new GridModel()) call, will it see the model state error and return the error to the client. The the pop be redisplayed with the contents of all the fields as they were for the call? Will the error be highlighted.
If not, how can I make the pop re-appear with the values used duing the call?
Thanks
marc
I am using the grid with Ajax binding and pop up editing. During the grid action call, I'm doing additional validation on the data returned.
If the data fails validation, I'm adding a model error to the model state.
When I rebind the grid via the return View(new GridModel()) call, will it see the model state error and return the error to the client. The the pop be redisplayed with the contents of all the fields as they were for the call? Will the error be highlighted.
If not, how can I make the pop re-appear with the values used duing the call?
Thanks
marc