469,910 Members | 1,477 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,910 developers. It's quick & easy.

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 1328
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
1 post views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.