How can we make a browser window opening with a maximum size on a button click?

 Posted by Chvrsri on 2/27/2012 | Category: C# Interview questions | Views: 3922 | Points: 40
Answer:

We can make that by setting an attribute FullScreen = 'Yes' by this way

Button1.Attributes.Add("onclick", "window.open(’page2.aspx’,’’,’fullscreen=yes’)");  


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Posted by: Harshparikh on: 2/27/2012 | Points: 10
I do not think this will work. Please write some other logic please
Posted by: Skriss03 on: 2/27/2012 | Points: 10
window .open ('../webpage.aspx','','fullscreen=yes')


Posted by: Jish on: 3/2/2012 | Points: 10
ohhhh nice

Login to post response