Solved

Refreshing a Modal Popup Window

Posted on 2006-06-19
5
684 Views
Last Modified: 2007-12-19
Hi,

In our web application we have a web form that has several lookup fields. When the user positions themselves in one of the lookup fields and presses the F4 button a modal popup window is displayed with a list of options. On this modal window only 12 of the options display at one time. If the user wants to see more they have to select the pagedown option. When the pagedown option is selected the modal window closes and re-opens with the additional options (Now showing 24 options). What we would like to happen here is for the modal popup window to refresh without having to close and re-open it.

Is it possible to refresh a modal popup window without having it close and re-open???
0
Comment
Question by:pathix
  • 2
5 Comments
 
LVL 16

Expert Comment

by:OliWarner
ID: 16937220
how about javascript?

window_name.location.href = window_name.location.href;

I think that should work...
0
 
LVL 16

Accepted Solution

by:
OliWarner earned 250 total points
ID: 16937231
No... this should be it...

window_name.window.location.href = window_name.window.location.href;
0
 
LVL 1

Assisted Solution

by:JonathanTheMan
JonathanTheMan earned 250 total points
ID: 16937855
Hi pathix,

You haven't mentioned what technology you are using to serve up the pages for your web application. If we assume for the sake of argument that you are using ASP.NET then you can perform a postback within a modal dialog by placing <BASE TARGET="_SELF"> inside the <HEAD> tags of your page.

Let me know if you need an example.

Hope this helps.

Cheers,
J
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Microsoft Edge 9 79
Jump links not quite lining up 18 50
Problem to Popup 2 50
MySQL database data submission 7 39
Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Accessibility and Usability are two concepts that seem to be closely related.  But, too many people seem to have a distorted perception of them. During last five years, those two words have come to the day-to-day work of almost every web develope…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

708 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

16 Experts available now in Live!

Get 1:1 Help Now