Modal Dialog Refresh

Posted on 2004-11-10
Last Modified: 2012-08-14
Hi all,

ASP.NET using

I have a member list. When the user clicks no a member name I am showing the member details in a modal dialog box (window.showModalDialog). When the Administrator clicks on the member name; in the modal dialog box, I have a drop down where the Admin can change the status of the member.  The dropdown does the post back but instead of refreshing the modal dialog, a new browser window is opened.

How can I refresh the dialog box without the pesky new browser window?


Question by:ainapure
    LVL 19

    Expert Comment

    Although there are likely experts around here somewhere that can help you with this, you may have further luck posting this question in the ASP.NET forum, located here:

    Good luck!
    LVL 20

    Accepted Solution

    Simply add base tag in <HEAD> tag, like so

                <base target="_self">
    <!-- html tags continue here... -->
    LVL 4

    Author Comment

    :-) Wow a simple solution. I was looking at writing lengthy javascripts to fix this problem.

    Thanks a mill

    LVL 20

    Expert Comment


    You're welcome.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    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 have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    779 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

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now