Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > specify window specs in Response.Redirect

Reply
Thread Tools

specify window specs in Response.Redirect

 
 
susie
Guest
Posts: n/a
 
      12-19-2003
I need to specify the following for the redirected page

target=blank
window position
taskbar (do not show)

How do I specify the above information in
Response.Redirect?


Is there a working sample?

Thanks a lot.
 
Reply With Quote
 
 
 
 
vMike
Guest
Posts: n/a
 
      12-19-2003
Try this
dim strurl as string = "http://yahoo.com"

dim strCommand as string = "vlarge1=window.open('" & strurl &
"','vlarge','resizable=no,scrollbars=no,status=no, toolbar=no,height=450,widt
h=575,left=150,top=100');" & vbCrLf & "vlarge1.focus();" & vbCrLf

response.write("<script>" & vbCrLf)
response.write(strCommand & vbCrLf)
response.write("<" & chr(47) & "script>")


"susie" <(E-Mail Removed)> wrote in message
news:0c0501c3c646$21ff0f80$(E-Mail Removed)...
> I need to specify the following for the redirected page
>
> target=blank
> window position
> taskbar (do not show)
>
> How do I specify the above information in
> Response.Redirect?
>
>
> Is there a working sample?
>
> Thanks a lot.



 
Reply With Quote
 
 
 
 
susie
Guest
Posts: n/a
 
      12-19-2003
Thank you very much! This is exactly what I needed.

Have a nice holiday!
>-----Original Message-----
>Try this
>dim strurl as string = "http://yahoo.com"
>
>dim strCommand as string = "vlarge1=window.open('" &

strurl &
>"','vlarge','resizable=no,scrollbars=no,status=no ,toolbar

=no,height=450,widt
>h=575,left=150,top=100');" & vbCrLf & "vlarge1.focus();"

& vbCrLf
>
>response.write("<script>" & vbCrLf)
>response.write(strCommand & vbCrLf)
>response.write("<" & chr(47) & "script>")
>
>
>"susie" <(E-Mail Removed)> wrote in

message
>news:0c0501c3c646$21ff0f80$(E-Mail Removed)...
>> I need to specify the following for the redirected page
>>
>> target=blank
>> window position
>> taskbar (do not show)
>>
>> How do I specify the above information in
>> Response.Redirect?
>>
>>
>> Is there a working sample?
>>
>> Thanks a lot.

>
>
>.
>

 
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
how to specify the page looks in window onload?? Matt Javascript 2 08-12-2004 04:41 PM
how to specify the page looks in window onload?? Matt ASP General 2 08-12-2004 01:24 PM
how to specify the page looks in window onload?? Matt HTML 2 08-12-2004 06:08 AM
specify new window with js in IE Fred Javascript 3 05-20-2004 07:00 PM
can't specify new window attributes in IE Fred Javascript 0 05-14-2004 06:26 PM



Advertisments