472,139 Members | 1,736 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,139 software developers and data experts.

window.open("WebForm1.aspx") problem

mg
window.open("xxxx.aspx",'') opens xxxx.asp on top

But, window.open("xxxx.aspx?
param1='abc'&param2='xyz'",'','toolbar=no') opens
xxxx.aspx behind

How can I open xxxx.aspx on top when I include parameters?
Nov 18 '05 #1
6 1378
I will have to try this, but inserting a JavaScript function in the page
that sets Window focus is an option if nothing else works. I will look at
passing params in the window.open and see what happens. Not sure why you
need the '' in the querystring. Perhaps that causes the issue.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************** ********************
Think Outside the Box!
************************************************** ********************
"mg" <mg@theworld.com> wrote in message
news:03****************************@phx.gbl...
window.open("xxxx.aspx",'') opens xxxx.asp on top

But, window.open("xxxx.aspx?
param1='abc'&param2='xyz'",'','toolbar=no') opens
xxxx.aspx behind

How can I open xxxx.aspx on top when I include parameters?

Nov 18 '05 #2
OK. Looked at it, but I am not seeing this issue either way. Do you have any
JavaScript in the popup page that might be causing this? And, what browser
are you using for this?

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************** ********************
Think Outside the Box!
************************************************** ********************
"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamM> wrote in
message news:eN****************@TK2MSFTNGP11.phx.gbl...
I will have to try this, but inserting a JavaScript function in the page
that sets Window focus is an option if nothing else works. I will look at
passing params in the window.open and see what happens. Not sure why you
need the '' in the querystring. Perhaps that causes the issue.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************** ********************
Think Outside the Box!
************************************************** ********************
"mg" <mg@theworld.com> wrote in message
news:03****************************@phx.gbl...
window.open("xxxx.aspx",'') opens xxxx.asp on top

But, window.open("xxxx.aspx?
param1='abc'&param2='xyz'",'','toolbar=no') opens
xxxx.aspx behind

How can I open xxxx.aspx on top when I include parameters?



Nov 18 '05 #3
OK. Looked at it, but I am not seeing this issue either way. Do you have any
JavaScript in the popup page that might be causing this?

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************** ********************
Think Outside the Box!
************************************************** ********************
"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamM> wrote in
message news:eN****************@TK2MSFTNGP11.phx.gbl...
I will have to try this, but inserting a JavaScript function in the page
that sets Window focus is an option if nothing else works. I will look at
passing params in the window.open and see what happens. Not sure why you
need the '' in the querystring. Perhaps that causes the issue.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************** ********************
Think Outside the Box!
************************************************** ********************
"mg" <mg@theworld.com> wrote in message
news:03****************************@phx.gbl...
window.open("xxxx.aspx",'') opens xxxx.asp on top

But, window.open("xxxx.aspx?
param1='abc'&param2='xyz'",'','toolbar=no') opens
xxxx.aspx behind

How can I open xxxx.aspx on top when I include parameters?


Nov 18 '05 #4
I think you problem has nothing to do with the parameters. There must be
some kind of other bug in your code.

"mg" <mg@theworld.com> wrote in message
news:03****************************@phx.gbl...
window.open("xxxx.aspx",'') opens xxxx.asp on top

But, window.open("xxxx.aspx?
param1='abc'&param2='xyz'",'','toolbar=no') opens
xxxx.aspx behind

How can I open xxxx.aspx on top when I include parameters?

Nov 18 '05 #5
mg
I rebuilt the app and it worked okay. Your comment is
correct.
-----Original Message-----
I think you problem has nothing to do with the parameters. There must besome kind of other bug in your code.

"mg" <mg@theworld.com> wrote in message
news:03****************************@phx.gbl...
window.open("xxxx.aspx",'') opens xxxx.asp on top

But, window.open("xxxx.aspx?
param1='abc'¶m2='xyz'",'','toolbar=no') opens
xxxx.aspx behind

How can I open xxxx.aspx on top when I include
parameters?

.

Nov 18 '05 #6
mg
I rebuilt the app and it worked okay. There was a bug in
the original code. Thanks for your effort!

-----Original Message-----
OK. Looked at it, but I am not seeing this issue either way. Do you have anyJavaScript in the popup page that might be causing this?

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************* ********* ************Think Outside the Box!
************************************************* ********* ************"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamM> wrote inmessage news:eN****************@TK2MSFTNGP11.phx.gbl...
I will have to try this, but inserting a JavaScript function in the page that sets Window focus is an option if nothing else works. I will look at passing params in the window.open and see what happens. Not sure why you need the '' in the querystring. Perhaps that causes the issue.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************** *********
*********** Think Outside the Box!
************************************************** *********
*********** "mg" <mg@theworld.com> wrote in message
news:03****************************@phx.gbl...
> window.open("xxxx.aspx",'') opens xxxx.asp on top
>
> But, window.open("xxxx.aspx?
> param1='abc'¶m2='xyz'",'','toolbar=no') opens
> xxxx.aspx behind
>
> How can I open xxxx.aspx on top when I include
parameters?

.

Nov 18 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by anna | last post: by
1 post views Thread by Lauchlan M | last post: by
6 posts views Thread by Martijn Coppoolse | last post: by
5 posts views Thread by Tmuld | last post: by
1 post views Thread by studen771 | last post: by
3 posts views Thread by Jack | last post: by
3 posts views Thread by nino.altran | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.