Solved

showModalDialog and Submit

Posted on 2002-05-28
2
289 Views
Last Modified: 2006-11-17
I have a window that pops up another dialog window(using showModalDialog). But the problem is everytime I submits the dialog window, it will opens up the result another new window.

Why is this happening ? Can I prevent this ?

Thank you.
0
Comment
Question by:fkmfkm
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 23

Accepted Solution

by:
b1xml2 earned 50 total points
ID: 7038778
Yes, you can. use an IFRAME inside the modal window. and The IFRAME now references the page or form you are loading in the modal window instead. This will allow the form to be posted without having a new window spawned.

0
 

Author Comment

by:fkmfkm
ID: 7040888
Great in fact I am using the SmartNav.js script from ASP.NET and it works...in my normal ASP
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question