Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Modal Dialog Refresh

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

ASP.NET using vb.net

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
  • 2
LVL 19

Expert Comment

ID: 12548482
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

ihenry earned 1000 total points
ID: 12553191
Simply add base tag in <HEAD> tag, like so

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

Author Comment

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

Thanks a mill

LVL 20

Expert Comment

ID: 12563122

You're welcome.

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

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 informatio…
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Screencast - Getting to Know the Pipeline
Suggested Courses
Course of the Month14 days, 16 hours left to enroll

578 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