popup

How to provide (in IE and Firefox) a binary file download in a popup that closes ?

I need a cross-browser solution to the following use case: The user clicks an "export" button on one of our pages, which opens a popup with a form. On submitting the form, the user should receive a binary file download (a CSV file, for example), and the popup should close without changing the visible content of the parent window. We...

Modal popup search window to replace dropdown control ASP.NET

I'm looking for the simplest way of popping a modal search window on top of an ASP.NET 3.5 application to look up values for a field. I've got a screen for users to add courses; users need to be able to choose an instructor by searching for instructors in a popup. So - the popup would have a textbox and a gridview with results; clicking...

Refresh dropdown in parent, when user closes popu window

I have a three step registration process, all on one page, the last of which requires the user to select a saved payment method or input a new one. Obviously, I want to collect that new data over SSL. Step 2 of the process involves showing the user a Google map, and the GMaps API doesn't play nice with SSL. My solution is to use a popu...

Determine Parent Component

Hi We have TToolbarButton(s) on a toolbar, each with it's own associated TPopupMenu. The popup menus are all the same so we would like to have only one menus for all the toolbar buttons. The problem I have is determining which ToolbarButton invoked the popup menu. I've tried the following, but I keep getting an access violation. ... ...

How to show popup message like in Stackoverflow

Exact Duplicate: http://stackoverflow.com/questions/659199/how-to-show-popup-message-like-in-stackoverflow or http://stackoverflow.com/questions/758906/how-would-i-implement-stackoverflows-hovering-dialogs I am trying to build this type of information box when user click on some link with the help of jquery. Please help. ...

Raise "onChange" event when Input Element changed by JavaScript from Popup Window

I have a webpage with a form element and a popup window (opened by window.open). Both have jQuery available. The popup window has a javascript that can change the form element in the opener window. That works perfectly by doing... $(opener.document.formelement).val(vals[0]); However by doing that the onChange event will not fire. Th...

Client Side Event when child window is changing parent location?

Ok, so here's the deal: Currently we have a page that calls a popup window and there is a link in that popup that redirects the parent page to another location. That all works just fine. CURRENT: PRODUCT PAGE <--> POPUP However, I am creating a new feature where the main page calls a new child window for product details. That produc...

jQuery override default validation error message display (Css) Popup/Tooltip like

I'm trying to over ride the default error message label with a div instead of a label. I have looked at this post as well and get how to do it but my limitations with CSS are haunting me. How can I display this like some of these examples: Example #1 (Dojo) - Must type invalid input to see error display Example #2 Here is some example ...

Causing a PostBack to a different page from a PopUp

I have a main page and a details page. The details page is a javascript popup invoked from the main page. When the 'save' button is clicked on the details page, I want the main page to 'refresh.' Is there a method of invoking a postback to the main page while also maintaining the save postback from the details page? Edit - Using wind...

How to close Popups used as sub-menus in WPF.

I have a button that when clicked opens a Popup. The Popup is a sub-menu containing more buttons. When one of the buttons on the sub-menu are clicked the Popup closes. I also want the Popup to close when the user clicks somewhere outside the Popup. It's also important to note that the majority of the screen is taken up by a WindowsFormsH...

Clip a wpf Popup at bounds of a main window

From what I understand, the popup exists within it's own visual tree. However, I've noticed a few properties, Clip and ClipToBounds. What I am wanting to do is Visually clip a popup at the right and bottom edges of a window regardless of the fact that the popup is independent of the bounds of the window. I'm not using XAML, but if somebo...

Javascript window.open is blocked by IE popup blocker

Hi there, Can anyone help, i have a popup that is being blocked .. it is a popup that is created because somebody has clicked on a Print picture on my site... I thought IE is not supposed to block these when the popup came via an onclick? Can anyone help? the child1 variable is always returned as NULL if popup blocker enabled... Mayb...

Swing: Positioning a popup from within a JScrollPane

I have a JTable inside of a JScrollPane. I am creating a custom cell editor for one of the columns of the table, and I want this editor to pop up a scrolling JList. I've done this by using a Popup to show a new JScrollPane containing the JList. Everything is working, except for the position of the Popup. My custom component for the edit...

Flex: Popup Window - Get [ok] or [cancel]

I've done a lot of C# programming with both Winforms and WPF. I'm working on a Flex/Air app now for cross platform support. But this is my first flex project, so I'm learning as I go. I've got a window that I want to popup, that the user will fill out a form, then hit OK or CANCEL. I set it up the same way I would've in C#, but it doesn...

How do I create an auto-run Dialog themed Activity in Android 1.5 (Cupcake)?

In the onCreate() of my "main" class I'm checking some things and occasionally need to show a popup. The popup is just another Activity which has been themed as @android:style/Theme.Dialog in the Manifest file. This has worked perfectly for months, but now that I'm on Cupcake it's basically just drawing the screen as all black. Here's ...

Dotnetnuke popup login control with the modalpopupextender

I'm trying to create a modal popup login control for dnn using the ModalPopupExtender in the AjaxToolkit. An issue that I'm running into is that when I click the "Login" button on the popup login form, if the login fails for some reason or if the user needs to update some information before moving on, the modal popup is cleared and the u...

Scala Popup Menu

How do I cause a popup to get shown in Scala? I have a "backdoor" but it seems pretty ugly to me: val item = new MenuIterm(new Action("Say Hello") { def apply = println("Hello World"); }) //SO FAR SO GOOD, NOW FOR THE UGLY BIT! val popup = new javax.swing.JPopupMenu popup.add(item.peer) popup.setVisible(true) ...

window.open() returns undefined or null on 2nd call

I have the follow scenario: I click a link which: opens a popup window called 'popup' which loads a pdf inside of it (in IE6). without closing the popup, i click the link again, which should reopen the pdf inside the popup, but instead a javascript error in thrown: member not found the javascript function used to open the popup is: f...

Disguise opener.location.reload() as new post event? Popup should reload parent without "This page cannot be refreshed without resending information" Message

Hi, i have following problem. I have a parent site withs forms. And i have links which open a popup via open.window. I want to reload the parent site with opener.location.reload(); in the Jquery .unload event. This works fine till the user submits the form on the parent site and then closes the popup. I get the usual "This page cannot...

Binding a Popup to another controls relative screen position

I'm writing an XBAP w/a complex popup(canvas zindex of 99 w/a grid on it...) that I would like to "attach" to the button that opens it and follow that button around wherever it goes on the screen. For example if the button is in a ListBox or a XamDataGrid I would like the popup to follow the button as it scrolls through. If it is benea...