window.open("WebForm1.aspx") problem

M

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?
 
C

Cowboy \(Gregory A. Beamer\)

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!
**********************************************************************
 
C

Cowboy \(Gregory A. Beamer\)

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!
**********************************************************************
 
C

Cowboy \(Gregory A. Beamer\)

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!
**********************************************************************
 
A

Anders Both

I think you problem has nothing to do with the parameters. There must be
some kind of other bug in your code.
 
M

mg

I rebuilt the app and it worked okay. There was a bug in
the original code. Thanks for your effort!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top