Click here to Skip to main content
16,020,877 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi guys ,

I need a Javascript code to make my asp.net page to open just like a user pressing F11.
Belive me i have already tried many thinks and serched on Google for a week without any sucess.

I apreciate any help ...
Posted

I know the solution in c# ( better then JS i think )

Page.ClientScript.RegisterStartupScript(this.GetType(),"open","window.open('Index.aspx','','fullscreen=yes');",true);
 
Share this answer
 
Comments
Pelluso Coder 29-Dec-11 11:39am    
This is NOT F11 like ! You still have adress bar and title bar !
Andrew Piotrowski 29-Dec-11 11:49am    
Yes , you are right. Sorry , i am using this solution in my projects. I found the solution
Right Solution

If I help you - Please rate.
 
Share this answer
 

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