SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Aug 2004
    Location
    nz
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Opening modal window

    hello.
    I want to open modal window.
    I'm using window.showModalDialog(url) , but when the modal window posts back to the server(it's a .net web form) , it always opens another window, so I end up with 3 window instead of two.
    One solution is using iframe inside the main window.
    But I don't want to use that, The new window , should be independent, and by using iframe i'm embedding it inside the parent page.
    Any suggestions?
    THanks
    Roy
    Last edited by roypython; Aug 29, 2004 at 23:33.

  2. #2
    SitePoint Member
    Join Date
    Aug 2004
    Location
    nz
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Magic that works

    Just adding <base target="_self">
    to the page that opens in the popup will solve the problem


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •