From popup window i want one more popup window

can anybody help me soon...

i have 2 popup pages pop1 and pop2............when i click one likbutton i want to popup pop1.aspx page and when i click pop1.aspx link button i want pop2.aspx.based on my coding this is working in other machines...but from server machine pop2 is not coming...

 

 master page link button coding

***************************************************************************************************************************

 Page.ClientScript.RegisterStartupScript(Me.GetType(), "popup", "ShowDNNReportPopup('" & user4mapping & " ');", True)
****************************coding in source tag ****************


<script language="javascript" type="text/javascript">
<!--
var ChildReportDNN;

function ShowDNNReportPopup(username)
{
 ChildReportDNN =window.open("http://ipaddress:8000/AFTIREPORTS/pop1.aspx?username=" + username  ,'','scrollbars=no,menubar=no,height=467,width=312,resizable=no,toolbar=no,location=no,status=no');
}
// -->
</script>

**********************************************************************************************************************
pop1.aspx page link button coding

********************************************************************************************************************
Page.ClientScript.RegisterStartupScript(Me.GetType(), "popup", "ShowPopupReport(" & Trim(CmbFahrName.SelectedItem.Value) & ",'" & Trim(fromdatestr) & "','" & Trim(Todatestr) & "','" & Trim(TxtUserName.Text) & "','" & Trim(CmbFahrName.SelectedItem.Text) & "');", True)


<script language="javascript" type="text/javascript">
var childWin;

function ShowPopupReport(fahrid,fromdate,todate,grpname,fahrname)

{childWin =window.open("pop2.aspx?fahrid=" + fahrid + "&fromdate=" + fromdate + "&todate=" + todate+ "&grpname=" + grpname+ "&fahrname=" + fahrname,'','scrollbars=yes,menubar=no,height=700,width=600,resizable=yes,toolbar=no,location=no,status=no');
}
// -->
</script>

 

0
jula
3/31/2008 8:17:18 AM
asp.net.client-side 24353 articles. 2 followers. Follow

4 Replies
1470 Views

Similar Articles

[PageSpeed] 31

in your first popup window you are specifying the full path (window.open("http://ipaddress:8000/AFTIREPORTS/pop1.aspx), but in the second popup you are using a relative path (window.open("pop2.aspx). What type of error are you getting?

0
Adam
3/31/2008 1:42:39 PM

adam no any error is coming but my window is not coming...

this is my first popup window...

("http://ipaddress:8000/AFTIREPORTS/pop1.aspx),

in pop1.aspx i have one link button when i clik that button i want pop2.aspx...

in my server machine this pop2 is not coming...but when i access my web from other machines pop2 is coming...

regards

0
jula
4/1/2008 7:16:48 AM

Hi Man,

        Then you can give full path just like what you have given for Pop1.

Like this,

 http://ipaddress:8000/AFTIREPORTS/pop2.aspx

          ( or )

window.open("/pop2.aspx?........)   with Backslash .


**************************************************
If this post answers your question please mark it as Answered .
**************************************************


John Felix,
Dubai Internet City,
Dubai.
0
John
4/1/2008 11:41:22 AM

I think you can use

target='blank'

in window.open()

 


ajmal khan
0
ajmalmcs1
4/2/2008 12:56:06 PM
Reply:

Similar Artilces:

Want to close the main window and popup window
 hi all,Thanks for all the support and help . Right now i am facing a problem. I have a main page with six frames and each frame is loaded with same page having a farpoint spread with different data . All spread has hyperlinks and when it is clicked , it will pop up a popup window .  The problem is with session expiry . The popup also have spreads with hyperlink s . When some one clicks the hyperlink it will popup one more link .Each page load i am checking session is null or not and session timeout is 30  When the third popup checks and find that session variable is empty . T...

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...

i want to close popup window when i close main window
dear all, advance thanks...can anybody help me.... i am using VS 2005 web application based on VB. i am using this following code for popup the window.   Page.ClientScript.RegisterClientScriptBlock(Me.GetType(), "popup", "window.open('webpopup.aspx?querystring','','scrollbars=yes,menubar=no,height=700,width=1000,resizable=yes,toolbar=no,location=no,status=no')", True) my requirements are 1.whether this code will work in firefox?if no how i want to call this for both IE and firefox 2.when i will close the main window i want to close thi...

superreview granted: [Bug 263960] popup blocker fails to stop synthetic click popup in single window mode : [Attachment 161999] abort tab opening if window is a disallowed popup
Johnny Stenback <jst@mozilla.jstenback.com> has granted Dan M <danm.moz@gmail.com>'s request for superreview: Bug 263960: popup blocker fails to stop synthetic click popup in single window mode https://bugzilla.mozilla.org/show_bug.cgi?id=263960 Attachment 161999: abort tab opening if window is a disallowed popup https://bugzilla.mozilla.org/attachment.cgi?id=161999&action=edit ------- Additional Comments from Johnny Stenback <jst@mozilla.jstenback.com> sr=jst too! ...

superreview requested: [Bug 263960] popup blocker fails to stop synthetic click popup in single window mode : [Attachment 161999] abort tab opening if window is a disallowed popup
Dan M <danm.moz@gmail.com> has asked Peter Van der Beken <peterv@propagandism.org> for superreview: Bug 263960: popup blocker fails to stop synthetic click popup in single window mode https://bugzilla.mozilla.org/show_bug.cgi?id=263960 Attachment 161999: abort tab opening if window is a disallowed popup https://bugzilla.mozilla.org/attachment.cgi?id=161999&action=edit ...

how to display popup window for every 5 seconds. we need customized popup window
 how to display popup window for every 5 seconds. when i open new window, i dont need titlebar and border also. i need to customize popup window. Every 5 seconds When you say popup every 5 seconds you mean refresh the page right?http://en.wikipedia.org/wiki/Meta_refresh <meta http-equiv="refresh" content="5"/> Open a new customised windowYou can customise a window to some extent but you cannot hide the title bar or border.This would open a window without a toolbar:window.open('url to open','window name','toolbar=no'); http://www.p...

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...

superreview granted: [Bug 248753] popup window creates duplicate window and directs content into wrong one. : [Attachment 151943] Always permit loads targeted at *other* toplevel windows.
Darin Fisher (IBM) <darin@meer.net> has granted Johnny Stenback <jst@mozilla.jstenback.com>'s request for superreview: Bug 248753: popup window creates duplicate window and directs content into wrong one. http://bugzilla.mozilla.org/show_bug.cgi?id=248753 Attachment 151943: Always permit loads targeted at *other* toplevel windows. http://bugzilla.mozilla.org/attachment.cgi?id=151943&action=edit ------- Additional Comments from Darin Fisher (IBM) <darin@meer.net> sr=darin ...

superreview requested: [Bug 248753] popup window creates duplicate window and directs content into wrong one. : [Attachment 151943] Always permit loads targeted at *other* toplevel windows.
Johnny Stenback <jst@mozilla.jstenback.com> has asked Darin Fisher (IBM) <darin@meer.net> for superreview: Bug 248753: popup window creates duplicate window and directs content into wrong one. http://bugzilla.mozilla.org/show_bug.cgi?id=248753 Attachment 151943: Always permit loads targeted at *other* toplevel windows. http://bugzilla.mozilla.org/attachment.cgi?id=151943&action=edit ...

Popup window like "Silverlight adv. Popup Window " On Microsoft Website
Hello friends,                     Actully I want to open Popup window in our website like silverlight adv(advertise) popup window. I am new in ajax, Are any contol available.  plz send some code to use that else describe any other method.     Thanks.  Hi, Have you tried the ASP.NET Ajax Popup Control Extender http://www.asp.net/learn/ajax-videos/video-84.aspx HTH,Suprotim AgarwalASP.NET Grid With Excel Capabilities | 27 GridView Tips & Tricks | Ho...

How can I make a popup window have a small title bar (like in pallete popup windows)?
If you are using PB7 then just mark it as a palette window... pbm_thisusuallydoesnothelp:-)) Philip Salgannik "Powersoft" <mail@2tee-loutr.kor.sch.gr> wrote in message news:YKNUIpAmAHA.258@forums.sybase.com... > > > If in PB 6.5? ...

superreview requested: [Bug 239876] combined specification of one inner and one outer dimension of a popUp window is not honored : [Attachment 146801] rewrite of window sizing and placement
Dan M <danm-moz@comcast.net> has asked Christopher Blizzard <blizzard@mozilla.org> for superreview: Bug 239876: combined specification of one inner and one outer dimension of a popUp window is not honored http://bugzilla.mozilla.org/show_bug.cgi?id=239876 Attachment 146801: rewrite of window sizing and placement http://bugzilla.mozilla.org/attachment.cgi?id=146801&action=edit ...

superreview cancelled: [Bug 239876] combined specification of one inner and one outer dimension of a popUp window is not honored : [Attachment 146801] rewrite of window sizing and placement
Asa Dotzler <asa@mozilla.org> has cancelled Dan M <danm.moz@gmail.com>'s request for superreview: Bug 239876: combined specification of one inner and one outer dimension of a popUp window is not honored https://bugzilla.mozilla.org/show_bug.cgi?id=239876 Attachment 146801: rewrite of window sizing and placement https://bugzilla.mozilla.org/attachment.cgi?id=146801&action=edit ...

superreview requested: [Bug 239876] combined specification of one inner and one outer dimension of a popUp window is not honored : [Attachment 146118] rewrite of final window sizing and placement
Dan M <danm-moz@comcast.net> has asked Adam Lock - some bugs are surrounded by an SEP field <adamlock@eircom.net> for superreview: Bug 239876: combined specification of one inner and one outer dimension of a popUp window is not honored http://bugzilla.mozilla.org/show_bug.cgi?id=239876 Attachment 146118: rewrite of final window sizing and placement http://bugzilla.mozilla.org/attachment.cgi?id=146118&action=edit ------- Additional Comments from Dan M <danm-moz@comcast.net> Requesting reviews from Jag and Adam, because while the code lives in the embedding dir...

superreview granted: [Bug 239876] combined specification of one inner and one outer dimension of a popUp window is not honored : [Attachment 146118] rewrite of final window sizing and placement
Christopher Blizzard <blizzard@mozilla.org> has granted Dan M <danm-moz@comcast.net>'s request for superreview: Bug 239876: combined specification of one inner and one outer dimension of a popUp window is not honored http://bugzilla.mozilla.org/show_bug.cgi?id=239876 Attachment 146118: rewrite of final window sizing and placement http://bugzilla.mozilla.org/attachment.cgi?id=146118&action=edit ...

popup windows [wanted ones] now freeze
Name: BB Product: Firefox Summary: popup windows [wanted ones] now freeze Comments: Dear FF Folks - I have happily used your browser since I heard of it, which was somewhere in the FF 1 range. [Thanks!] Since this update, secondary windows have been freezing the program. Ex: Some "messageware" thingy attached to one mail program pops up to tell me when a message comes in. Used to be no problem; now the popup becomes unclickable - can't be closed - and freezes the program. I free it all up by using the good ol' Task Manager to kill the window (which takes the...

Open Popup from a popup window
I have already opened a popup[1] with no toolbar ... From that popup I have to open another popup[2] window. But the new popup window opens in that popup[1] only instead of opening in popup[2]. Please suggest.  CSR~ Please Mark as Answer if it solves your query ~ Whenever you open a pop-up from a window then it treats that window as parent window. So whatever is happening in you case natural. If you want a seperate window then open it from the main window itself. target="_blank" for opening links in new windows Post the code that opens the popups. NC...  ...

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 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.openfeed...

Response Windows with Popup Windows
I'm using PB 6.01 beta 1, and am opening a Popup Window from a response window. The problem I'm having is that if I click back onto the Response Window, I can't get back to the Popup Window again. Is this how it's supposed to work? -- Chris McMahon qcmcmahon@delphi-tech.com Anti-Spam Note: Remove the 'q' in front of my email address to send me email Yes it is. The only type of window you should open from a response window is another response window. Simon Chris McMahon wrote in message ... >I'm using PB 6.01 beta 1, and am opening ...

superreview requested: [Bug 239876] combined specification of one inner and one outer dimension of a popUp window is not honored : [Attachment 146118] rewrite of final window sizing and placement #2
Dan M <danm-moz@comcast.net> has asked Christopher Blizzard <blizzard@mozilla.org> for superreview: Bug 239876: combined specification of one inner and one outer dimension of a popUp window is not honored http://bugzilla.mozilla.org/show_bug.cgi?id=239876 Attachment 146118: rewrite of final window sizing and placement http://bugzilla.mozilla.org/attachment.cgi?id=146118&action=edit ------- Additional Comments from Dan M <danm-moz@comcast.net> awww Adam's not a sooper reviewer ...

Response window with popup window
Greetings all, First of all: Sorry for my bad English! In my application, I have the following functionality: The "primary window" is a MDI Frame window with a treeview at the left side and some datawindows at the right side (like Outlook or explorer). Via doubleclick on the datawindows the user opens RESPONSE windows where he/she can input data. Meanwhile the user is working on a RESPONSE window, a "help button" can be clicked and then a POPUP window is opened that displays some contextual information about the contents of the RESPONSE window. Well, the...

superreview granted: [Bug 247421] Popup blocker disabled but still blocks links and normal links on javascript menu : [Attachment 151126] global popup limit: don't count self popups, count one window
Johnny Stenback <jst@mozilla.jstenback.com> has granted Dan M <danm-moz@comcast.net>'s request for superreview: Bug 247421: Popup blocker disabled but still blocks links and normal links on javascript menu http://bugzilla.mozilla.org/show_bug.cgi?id=247421 Attachment 151126: global popup limit: don't count self popups, count one window only once http://bugzilla.mozilla.org/attachment.cgi?id=151126&action=edit ------- Additional Comments from Johnny Stenback <jst@mozilla.jstenback.com> sr=jst ...

Popup Window + Redirect Parent Window + Bind Child Window Data
I wish to achive something as below:1. Popup a child window Child1 from parent window Parent1 (Done)2. Click a button on Child1, redirect the Parent1 to Parent2 (Done)3. In Parent2, I want to bind the labels with the data from Child1 labels.4. Close the Child1 (Done)How can i achieve for Task 3???? Willing for your answers.. -- Tough People Do Tough Task -- Name Child1 when you open the window: window.open("{Your URL}", "Child1", "{Your window options}"); Get a reference to Child1 from Parent2: var winRef = window.open("", "Child1", ""); Use the reference to call a javascript metho...

forms authentication and client side window popup of secured page?
Hi, I have a asp.net 1.4 web application using forms authentication.The users log into the site using LDAP and get a forms authentication cookie put onto their local machine. This allows the users to visit "secured pages" on the site. A secured page is a page that is any page found inside the secured directory. I have a secured webforms with drop down boxes that a user fills out. After filling out they hit a server control button to response.redirect to a secured crystal report. The problem is I have created a second button to do a client side window popup to a new browser window of the ...

Web resources about - From popup window i want one more popup window - asp.net.client-side

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.

Passengers urinate out of car window while travelling 100km/h
The actions of two car passengers who appeared to lean out a car window to urinate while travelling at 100kmh on a Southland highway are being ...

Chrome OS distro for regular PCs can now dual-boot with Windows
... A few months ago, we wrote about CloudReady , a version of the open source Chromium OS from Neverware that can transform older Windows PCs ...

Windows clone ReactOS hits version 0.4.0
It’s been ten long years since the last major release, but open source Windows clone ReactOS is still very much alive, and the latest release ...

Through Google Glass — How much is that kitty in the window?
YouTube caption: "Gray Cat wakes from a restful nap in the late afternoon, tolerating my annoying presence with her usual patience and good humor." ...

Microsoft just landed a huge deal to bring Windows 10 to 4 million Defense Department employees
... that the United States Department of Defense will be moving all four million of its employees across all of its agencies to the Windows 10 operating ...

Find and recover Windows files
How to find recent downloads and other docs, and how to rescue deleted files.

Preliminary data shows small Windows 10 gains after upgrade offered to older PCs
Windows 10 usage has increased since Microsoft began serving the operating system as an automatic upgrade to PCs running Windows 7 or Windows ...

Resources last updated: 2/19/2016 1:30:50 AM