M
Matt Jensen
Howdy
I've got a ASP.NET webform page that pops up a window for a user to make a
selection. Once they make a selection in this popup window, the form in the
popup is submitted an update to the DB is fired, the window closes, and the
opener window's (server) form is submitted (via JavaScript) (so that any
form changes that were made are retained) and the newly loaded page shows
the new selections from the popup window.
However, the newly loaded page also shows any validation messages, which
whilst not a huge problem, I'd rather not have for cleanliness' sake. What
can I do via JavaScript to submit the opener form but not have the .NET
'causes validation' happen?
Can I use the JavaScript to call some hidden/dummy/zero width button (either
HTML or .NET), or is there some better method?
Thanks for any suggestions.
Cheers
Matt
I've got a ASP.NET webform page that pops up a window for a user to make a
selection. Once they make a selection in this popup window, the form in the
popup is submitted an update to the DB is fired, the window closes, and the
opener window's (server) form is submitted (via JavaScript) (so that any
form changes that were made are retained) and the newly loaded page shows
the new selections from the popup window.
However, the newly loaded page also shows any validation messages, which
whilst not a huge problem, I'd rather not have for cleanliness' sake. What
can I do via JavaScript to submit the opener form but not have the .NET
'causes validation' happen?
Can I use the JavaScript to call some hidden/dummy/zero width button (either
HTML or .NET), or is there some better method?
Thanks for any suggestions.
Cheers
Matt