asp_web_howto thread: no toolbar,no statusbar using response.redirect
Message #1 by "StephenB" <stephenb@w...> on Mon, 22 Jan 2001 11:11:53 -0000
|
|
From theresa mary [theresamary@h...]
hai,
How can I open an existing page with no toolbar,no statusbar using
response.redirect method in asp.thanks
theresa
Message #2 by Imar Spaanjaars <Imar@S...> on Mon, 22 Jan 2001 12:28:41 +0100
|
|
You can't. Response.Redirect will send an HTTP header to the current
browser with a message that it should just request a different page.
But you could write client-side JavaScript from the server to do the same
thing. Try this:
Response.Write("<script LANGUAGE=""JavaScript"">" & vbCRLF)
Response.Write("window.open ('yourNewASPPage.asp', 'NameOfNewWindow',
'toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=780,height=550')"
& vbCRLF)
Response.Write("</script>" & vbCRLF)
This will open a new window of the specified size and with the specified
options (menubar, statusbar etc)
HtH
Imar
At 11:11 AM 1/22/2001 +0000, you wrote:
> From theresa mary [theresamary@h...]
>
>hai,
>
>How can I open an existing page with no toolbar,no statusbar using
>response.redirect method in asp.thanks
>
>theresa
Message #3 by "Morgan, Rob" <Rob.Morgan@o...> on Mon, 22 Jan 2001 06:47:22 -0500
|
|
http://www.planet-source-code.com/vb/default.asp?lngCId=6449&lngWId=4
-----Original Message-----
From: StephenB [mailto:stephenb@w...]
Sent: Monday, January 22, 2001 6:12 AM
To: ASP Web HowTo
Subject: [asp_web_howto] no toolbar,no statusbar using response.redirect
From theresa mary [theresamary@h...]
hai,
How can I open an existing page with no toolbar,no statusbar using
response.redirect method in asp.thanks
theresa
|