"abb" <an******@gmail.comwrote in message
news:f9**********************************@n77g2000 hse.googlegroups.com...
>I have a modal dialog to edit a Notes field. When the Save button is
pressed, that field should save the Notes, close the dialog and leave
the parent window unchanged (don't refresh or post).
How can I accomplish that?
I'm not quite sure what the problem is here... If you pop a modal dialog
(presumably you're using the non-standard window.showModalDialog method),
closing that dialog won't cause the parent window to refresh or post back
unless you explicitly code it...
Posting from the modal dialog always pops up a new browser window.
Put the following in the header of the dialog window:
<base target="_self" />
Try to avoid showModalDialog - they work only in IE and Safari...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net