Some other suggestions of things you could try.
Use frames within your modal window. Submit the changes to one frame
(could even be a 'hidden' frame with height of 0) within the modal
window and ensure changes are reflected using JavaScript to "talk"
between the frames.
Use hidden form fields and JavaScript to save user entered parameters,
which avoids having to make a server round trip, and then just make
these changes when the final submission is made (which could then be
back to the opening page).
Matt
"CaptainZ" <an*******@discussions.microsoft.com> wrote in message
news:B7**********************************@microsof t.com...
Thingis that I want to be able to perform various actions on the modal
window that relate to a SQL database, and when I am finished then return
to the parent.
I can't make it return to the modal window after going to the server
after user input - which is the problem I would really like to get
around - and I can't work out any way to save user entered parameters
without doing a server side trip and ending up on a newly created,
non-modal, window.
Trouble is - how do I go to another web page, provide user interaction
including server side work, and return values to the parent page whilst
not losing the parent's state and keeping the child page modal? The
parent is not (typical) simple and includes multipage datagrids and
numerous dropdownlists - so saving the state manually and reconstructing
it is not trivial - hence the desire to go modal and return to an
unchanged parent page.
But cannot figure out how. Modal - tick. Returning any number of
values to the parent - tick. Going to the server from the modal page and
returning to the modal page - nope. Very frustrated