Solved

showModalDialog and Submit

Posted on 2002-05-28
2
288 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

Technology Partners: 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

Suggested Solutions

Title # Comments Views Activity
Button to go back 3 44
Pass asp session variable to a js function in an asp script 6 35
Ajax on ASP 2 65
Prevent certain words from being typed in a form 6 53
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…
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

737 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