Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > window.open("WebForm1.aspx") problem

Reply
Thread Tools

window.open("WebForm1.aspx") problem

 
 
mg
Guest
Posts: n/a
 
      01-05-2004
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?
 
Reply With Quote
 
 
 
 
Cowboy \(Gregory A. Beamer\)
Guest
Posts: n/a
 
      01-06-2004
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" <(E-Mail Removed)> wrote in message
news:031001c3d3e2$bea10880$(E-Mail Removed)...
> 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?



 
Reply With Quote
 
 
 
 
Cowboy \(Gregory A. Beamer\)
Guest
Posts: n/a
 
      01-06-2004
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)" <(E-Mail Removed)> wrote in
message news:eNQgf7%(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:031001c3d3e2$bea10880$(E-Mail Removed)...
> > 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?

>
>



 
Reply With Quote
 
Cowboy \(Gregory A. Beamer\)
Guest
Posts: n/a
 
      01-06-2004
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)" <(E-Mail Removed)> wrote in
message news:eNQgf7%(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:031001c3d3e2$bea10880$(E-Mail Removed)...
> > 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?

>
>




 
Reply With Quote
 
Anders Both
Guest
Posts: n/a
 
      01-06-2004
I think you problem has nothing to do with the parameters. There must be
some kind of other bug in your code.



"mg" <(E-Mail Removed)> wrote in message
news:031001c3d3e2$bea10880$(E-Mail Removed)...
> 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?



 
Reply With Quote
 
mg
Guest
Posts: n/a
 
      01-06-2004
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 be
>some kind of other bug in your code.
>
>
>
>"mg" <(E-Mail Removed)> wrote in message
>news:031001c3d3e2$bea10880$(E-Mail Removed)...
>> 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?
>
>
>.
>

 
Reply With Quote
 
mg
Guest
Posts: n/a
 
      01-06-2004
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 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)"

<(E-Mail Removed)> wrote in
>message news:eNQgf7%(E-Mail Removed)...
>> 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" <(E-Mail Removed)> wrote in message
>> news:031001c3d3e2$bea10880$(E-Mail Removed)...
>> > 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?
>>
>>

>
>
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem problem problem :( Need Help Mike ASP General 2 05-11-2004 08:36 AM



Advertisments