fcrossen
Posts: 1
|
| Posted: 03/22/2006, 10:27 AM |
|
Hi all,
I want to use a standard grid list and have the 'Add New' link go to a popup window.
So far so good, all is working IF there are no server side validation errors.
The problem is that if there are server validation errors I need to keep the popup open and allow the user to see the error message and correct them. If there are no server validation errors, I want to close the window and refresh the parent window so the new data is visible.
Is there an easy way to tell if a page or form has generated errors in general without having to step through each control?
I guess that it the popup window has generated no errors, I can change $Redirect to a page which refreshes the parent and then closes the popup. Else I leave $Redirect alone and allow the popup to re-display the add/edit form with any error message.
Any help appreciated!
F...
|
 |
 |
|