window.open("WebForm1.aspx") problem

  • Thread starter Thread starter mg
  • Start date Start date
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?
 
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!
**********************************************************************
 
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!
**********************************************************************
 
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!
**********************************************************************
 
I think you problem has nothing to do with the parameters. There must be
some kind of other bug in your code.
 
I rebuilt the app and it worked okay. There was a bug in
the original code. Thanks for your effort!
 
Back
Top