Click here to Skip to main content
14,922,447 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
In asp.net mvc when user open the software then browser turn into full screen mode without any event by user.
How?Thanks
Posted
Comments
Sergey Alexandrovich Kryukov 19-Nov-11 16:54pm
   
I would say it has little sense because the user normally uses as the window of a size she/he wants. This is your Web application to be flexible enough to render reasonable well in different sized of the window, different browsers and different zooms.
--SA
amin uddin cs 19-Nov-11 23:02pm
   
But My Client wants to make him browser full screen when enter the application.

Tell him/her to press F11 on the keyboard and the browser window will become full screen.

You can also put this in your code :
C#
Response.Write("<script>");
Response.Write("window.open('www.yoursite.com', '', 'fullscreen=yes, scrollbars=auto');");
Response.Write("</script>");
   
v2
Comments
thatraja 20-Nov-11 2:56am
   
You beat me to it, 5!
Mehdi Gholam 20-Nov-11 3:05am
   
HeHe thanks :)
Uday P.Singh 20-Nov-11 3:00am
   
5ed
Mehdi Gholam 20-Nov-11 3:05am
   
Cheers
amin uddin cs 21-Nov-11 13:55pm
   
Thanks
If I call my site from another then it is posible to full screen my site. But I don't want to solve such way.
Try this

JavaScript start a window in "Kiosk Mode"[^]

Google "kiosk" for more.
   
Comments
Mehdi Gholam 20-Nov-11 3:05am
   
5'ed
amin uddin cs 21-Nov-11 13:53pm
   
Thanks But above ways do not solve my prolem.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900