Urgent : Problem with ShowModalDialog

J

John

Hi all,

I'm experiencing a problem with the ShowModalDialog window. What I do is to
show the window modally then upon a user filling in a couple of fields, the
page posts back to itself and I do a few things then either send back a
javascript alert or a javascript window.close(). Initially, I had a problem
in that the page would post back to the client in a new big window but I
sorted that out today by setting on the smart navigation.

This now works fine when I test it on my Local P.C. but not once the web app
is on my site.

If someone doesn't have a difinitive solution to my problem, could someone
please explain the correct way I should be using the ShowModalDialog window?

Regards
John.
 
E

Eliyahu Goldin

John,

instead of using smart navigation just put a line

<base target=_self>

into the <head> section of the modal page.

Eliyahu
 
J

John

I'll give it a try - thanks!

Eliyahu Goldin said:
John,

instead of using smart navigation just put a line

<base target=_self>

into the <head> section of the modal page.

Eliyahu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

ShowModalDialog 4
Passing Data with showModalDialog 4
showModalDialog 2
showmodaldialog 0
Showmodaldialog question 3
showModalDialog and TreeView problem 6
ShowModalDialog 2
Problem with code 2

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top