How to run asp page in max.mode

  • Thread starter Thread starter Raghu Raman
  • Start date Start date
R

Raghu Raman

Hi,

I 've designed a asp.net page an i run it it runs in normal mode .I feel
un easy to click the max. button every time .Can any body tell me how to
change to maximized mode by default when runs on the IE.

wITH THANKS
RAGHU
 
Here's a way to really annoy people... put their browser into fullscreen
mode. Use at your own risk and don't tell anyone I gave you the code? <grin>

Private Sub Button1_Click _
(ByVal sender As System.Object, _
ByVal e As System.EventArgs) _
Handles Button1.Click
Page.RegisterStartupScript _
("fullscreen", "<script>window.open" & _
"('http://authors.aspalliance.com/kenc/'," & _
"null,'channelmode=yes,fullscreen=yes');" & _
"</script>")
End Sub
 
I urge you to NOT manipulate with the browsers size or even worse use the
code Ken supplied. If you are into serious webdevelopment you should not
take control over the browser.

A friendly suggestion.
 
Also note: This only works in IE.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
Back
Top