-
_blank is not working in modal dialog
HI,
I have a problem with the modal dialog,i am using showModalDialog to open a modal pop up in IE.From this dialog i am submiting the form and trying to open a new window for printing purpose using target="_blank".
I am not using window.open or dialog,just i am setting target as "_blank",But it is not working fine,it is opening a new window but request is not passed to it,So i am unable to load the print page.
How do i resolve this?? this will work fine if i use window.open.it is giving problem only in showModalDialog.
can anybody ..please help me
thanks
kiran
-
-
What script are you using? What browser?
Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format for asking a question.
-
-
Thanks John..
i am using IE only,So i am going for window.showModalDialog() to open a modal pop up.
If i set target to _self or frame name where i can load within the modal dialog ,evreything works fine,but my requirement is to submit the form content and open a new browser so that user can print that page.
The code follows here....
function printOperation()
{
parent.frames["result_pane"].document.forms["operationForm"].target="_blank"
parent.frames["result_pane"].document.forms["operationForm"].action="<%=URLRoot%>/PrintOperation.do";
parent.frames["result_pane"].document.forms["operationForm"].submit();
}
whats happening is it is opeing a new window..but request and session are newly created for this browser,,so i am not able to get the form content from which i submitted.
How do i do this...
regards,
Kiran
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks