Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am using a javascript in order to disable the controls of a page.. the code is below:::

server side to call javascript::
btnLogin.Attributes.Add("onclick", "popUp('" + responseURL + "')");

clientside:::
C#
var popUp = function (page){
        window.open(page, "Index", 'toolbar=0,scrollbars=yes,location=0,statusbar=0,menubar=0,resizable=1,width=1500,height=7500,left = 710,top = 290');
     }



here, in order to maximize the IE browser to take whole of the screen, i am using width and height.. i had done googleing.. It had told me to set fullscreen=yes.. on removing width and height and setting fullscreen=yes, i got all the content in the required fashion but screen is not full . unfortunately, its not working in my code... is there a way to maximize the browser as os loads??
Posted
Updated 27-Jan-14 5:57am
v2

 
Share this answer
 
Comments
Codes DeCodes 27-Jan-14 12:03pm    
thanks a lot man.. it worked like a charm
I have also suggested the same answer in this question and also on previous question. :)
5 !!! Cheers. :)
 
Share this answer
 
Comments
Codes DeCodes 27-Jan-14 12:25pm    
thanks man...
Thanks a lot Agustus. :)
Please accept the previous answer as well.

Regards,
Tadit
Abhinav S 27-Jan-14 12:29pm    
Same answer. Though a little late. 5.
Thanks... :)

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