Friday, 25 April 2014

C# browser maximize in page load

C# browser maximize in page load
protected void Page_Load(object sender, EventArgs e)
{
Page.RegisterClientScriptBlock(“”, “top.window.moveTo(0,0); top.window.resizeTo(screen.availWidth,screen.availHeight);”);
}