Popup Window (window.opener)

Hi,

I have an ASP.NET application.
On one of my pages I have a link to a popup. This popup has a link. When the user clicks this link my popup closes and another Popup is displayed.
In this second Popup I want to redirect the user to a fifferent page in my application when the popup closes. Is this possible as another popup opened this second popup so I cannot use 'window.opener'.
Any advice is much appreciated.
Thanks,
C
0
COG
10/20/2003 10:35:57 AM
asp.net.web-forms 93655 articles. 5 followers. Follow

2 Replies
1391 Views

Similar Articles

[PageSpeed] 36

can you please explain a bit more clearly,

what I got is that you hae total 4 windows isn't it?
are you using hyperlink control or window.open
feed the creative machine
0
mp417
10/20/2003 11:18:19 AM
I am using window.open to open a popup window from my application.


This Popup window has a link. When the user clicks on this link the window closes and I open up a new Popup. This new Popup has a link also. On clicking this link I want to close the popup and do a redirect on within my Application.
Since this Popup was opened from a Popup I am unable to do a Redirect on the Application.
Any ideas?
C
0
COG
10/20/2003 5:00:46 PM
Reply:

Similar Artilces:

How to send value form popup window to opener window ??
I have problem and I need everybody help me. I desgning a website using ASP.NET and VB.NET - I want, when user click button as show popup window with list user of system (from database) and click user of list, it's in textbox of opener window. Can you help me code it ??? Thanks a lot !!!  Không học không biết, học rồi sẽ biết  You have to access the window.opener.document object in JavaScript. This will give you access to the DOM. function getOpenerElem(Jb) { return window.opener.document.getElementById(Jb); }  I use this function to access the opening window...

Open Popup Window and Close the window that Opened it
I'm using some code that I found on this site to open a Popup window with a Button Click for a Crystal Report: Dim PopUpScript As String = "<script language='javascript'>" + "window.open(" & Chr(39) & strExportFile & Chr(39) & ");</script>" Page.ClientScript.RegisterStartupScript(Me.GetType(), "PopUpWindow", PopUpScript, False) After the Popup Window shows the Report I would like to close the window that opened this popup window.  Thanks, Mark just add window.close(); in Dim PopUpScript As String ...

Modal Popup window opens new window when form posted
I am having trouble with modal dialog.  I have a web page PopupTestParent.aspx and popup.aspx.  When I click button on popupTestParent.aspx, it opens modal dialog as exptected, when I click button on Popup.aspx, and form gets posted, it opens a new window, instead of using same window as the form.  code for both pages is given below.. Any clue, how to get over this? <%@ Page Language="C#" AutoEventWireup="true" CodeFile="PopupTestParent.aspx.cs" Inherits="PopupTestParent" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 ...

superreview granted: [Bug 263844] Javascript window.close() on popup not working when popup is opened in tab : [Attachment 162257] set opener on opened windows diverted into tabs
Boris Zbarsky <bzbarsky@mit.edu> has granted Boris Zbarsky <bzbarsky@mit.edu>'s request for superreview: Bug 263844: Javascript window.close() on popup not working when popup is opened in tab https://bugzilla.mozilla.org/show_bug.cgi?id=263844 Attachment 162257: set opener on opened windows diverted into tabs https://bugzilla.mozilla.org/attachment.cgi?id=162257&action=edit ------- Additional Comments from Boris Zbarsky <bzbarsky@mit.edu> r+sr=bzbarsky. Dan, thanks for doing this! I really wish we could factor some of this code that's being copied f...

window.open and window.opener
Sorry for a really dumb post. I am not a scripting person... I find the whole thing a bit strange really with losely coupled types ect...Anyway, I am putting together a ASP.NET v2 application. One of the pages I am planning on implementing a link to open a pop-up window. In this popup window, the user will select the location of somthing, the window close and the value returned back to one of the parent browsers controls. I know this is not rocket science and I have done endless searches to try and find the answer. I am loading up the page and passing in the ClientID of the control I wish to...

open popup window with click on image and datalist in popup window
 I have a picture,i want to when i click on it a popup window open,in that pop up window i want to have a data list that in every field of it be a link and a picture,when user click on a link with a url go to another website in that pop up window,how can I do this senario? Where are you having a problem? We can't build the thing for you. Post the code that you have so far. NC...    I want when I click on a picture a popup window open Like this? <img src="yourImageFile.jpg" onclick="window.open('Page2.aspx');" /> See http://www.ja...

Can window.open add a parameter to set up popup windows as a modal windows?
Can window.open add a parameter to set up popup window as a modal window? I want to open modal popup window to display a image. Try this..  window.showModalDialog("http://localhost/Test.aspx", "center:yes;resizable:no;dialogHeight:300px");My Blog"Don't be afraid to be wrong; otherwise you'll never be right." Hi, Do you want to show images? try this alternative: http://www.huddletogether.com/projects/lightbox/ Any doubt, post your comment.Segundo Serrano P.Ing. Sistemashttp://www.4workgroup.com/Blog: http://dotnet-peru.blogspot.com  ...

windows forms in vb .net into web forms
we are creating a database driven website as part of our project. currently we have forms connecting to the database created in visual basic. these windows forms we need to convert into web forms which are asp .net compatible. can u give me an answer or show me a way. Hi, because of the difference in nature between web and win applications you'll need to reimplement at least the UI part. If you have a multitiered application in which the busines logic and data access are in different parts/assemblies you can reuse them. Grz, Kris.Read my blog. Handy Firefox plugins for web developers.Wor...

Open a popup window from child window
Hello,  I have a gridcontrol in a child window, which in edit mode has one dropdownlist control, one textbox to enter amount and another textbox whose value will be selected from another popup window. The problem here I am facing is.. when I am opening the popup window from the child window, its replacing the child window and thereby not populating the textbox control in the grid as the child window is being lost. Can anyone please tell me how to retain the child window and open the popup in other separate window. Its quite urgent Thanks      Hi Nans,Are you...

Popup window being covered up by opener window
I have a web app that contains a button that opens up a small popup window when clicked.  In ASP.NET 1.x (using Studio 2003), the popup window appeared without any problem. But with ASP.NET 2.x (using Studio 2005), the popup window appears, but immediately goes behind the opener window. Here's the code: Dim script as String = ""Dim popUp as String = "myurl.aspx"script += "&lt;script language='Javascript' id='PrevOrders'&gt;"script += "var confirmWin = null;"script += "var screenX = window.screen.availWidth/2 - 400;"script += ...

how to open popup window through javascript in code behind( popup window should be aligned center)
I want to use javascript in code behind to open popup window. I have Datalist inside which there is linkbutton. On click of linkbutton open popup window through javascript & that pop up window should be aligned centraly.Regards,Mahesh--------------------click "Mark as Answer" on the post that helps you. Friend, Try this sample . <html xmlns="http://www.w3.org/1999/xhtml" ><head runat="server">    <title>Untitled Page</title>        <style>    .blue{ bac...

how can I use window.opener but with window.showModalDialog instead of window.open
Hi, I tried the code bellow that I found in  :  4guysfromrolla site:the code displays a source page, whn I click on the Calendar <a href />  link  i get a calendar displayed on a target page. when I select a date, the calendar page closes and populates the textbox txtDate with the chosen date. Here is the code of the 2 pages and my question is down bellow:a source page called frmCalendar.aspx has this:<form name="frmCalendar">   <input name="txtDate" type="text" />   <a href=&q...

Opening POPUP Windows from C# Windows application
Hi all,            I am opening Internet Explorer from C# Windows application by using SHDocVw.It is opening in Full screen. I want to open like a popup window(Without containing address bar,menu bar......).Please Provide me the solution.. RegardsNataraj           Since this is a Windows application question, you should ask your question on the MSDN Forums.RyanRyan OlshanASPInsider | Microsoft MVP, ASP.NEThttp://ryanolshan.comHow to ask a question...

How to call window form from windows servcie in .net
Hi    I created a windows Service and i did following steps.>>protected override void OnStart(string[] args) { // TODO: Add code here to start your service.   System.Windows.Application.Run();Form1 frm = new Form1(); frm.Show(); }   I add the service installer and to start service i opened a command prompt then i typed installutil path/serviceproj.exe. And i started the service from Mycomputer->Manage. But windows service is not showing the form.Everyone is telling windows service not support UI.Its a background thing. So Form is not showing My ques...

Web resources about - Popup Window (window.opener) - asp.net.web-forms

Window - Wikipedia, the free encyclopedia
This article is about the part of a building. For the Microsoft operating system, see Microsoft Windows . For other uses, see Window (disambiguation) ...

Microsoft Windows Information, Solutions, Tools - Windows IT Pro
Microsoft Windows information and solutions for IT pros. Topics include cloud computing, Windows Server, Exchange, Outlook, PowerShell, virtualization, ...

The Windows Blog
The Windows Blog is Microsoft's Official Blog for the Windows Operating System.

Woman spotted throwing flaming rags from car window in Yangebup: resident
A report of a person driving around throwing flaming rags from their car in the Yangebup area has prompted a call from the Department of Fire ...

Windows 10 Mobile review: Windows on phones gets rebooted. Again.
One way or another, Microsoft has been promising Windows 10 Mobile for years. References to "Windows Everywhere," the notion that some version ...

Santa brought you a Windows 10 PC or tablet? Here’s what to do first
If you were fortunate enough to unwrap a new Windows device this Christmas the chances are it will be running Windows 10 . The new operating ...

Employees were so angry about Good's sale to Blackberry, someone broke a conference room window
When email security company Good Technology sold to BlackBerry for $425 million this past September — well below its last private valuation of ...

Virgin Mary image seen on Ga. church window
Rainbow-hued coating on window pane inspires Catholic priest to post on FaceBook

Microsoft preps for Windows 10 upgrade push
Windows 10 is now on more than 148 million PCs , according to data from analytics vendor Net Applications. But the rate at which users are moving ...

I Can See An Empty Bank Account From My Window
Not mine, for once. With oil prices down along with oil production, the state is facing an Alaska-size shortfall: Two-thirds of the revenue ...

Resources last updated: 12/27/2015 7:57:30 AM