title: How to open target="_blank" full screen?
body: <p>I am trying to open new page with full screen. Below size is the my screen resolution. Still I have to click on re-sizable button on the browser to expand it to full screen.</p>
  
  <p>How do I open it fill screen without clicking on re-sizeble?   </p>
  
  <pre><code>Helper.Redirect("resource.aspx", "_blank",
                    "menubar=0,scrollbars=1,width=1366,height=768,top=10")
  </code></pre>
  
  <p>Method</p>
  
  <pre><code>Public Shared Sub Redirect(url As String, target As String, windowFeatures As String)
      Dim context As HttpContext = HttpContext.Current
  
      If ([String].IsNullOrEmpty(target) OrElse target.Equals("_self", StringComparison.OrdinalIgnoreCase)) AndAlso [String].IsNullOrEmpty(windowFeatures) Then
  
          context.Response.Redirect(url)
      Else
          Dim page As Page = DirectCast(context.Handler, Page)
          If page Is Nothing Then
              Throw New InvalidOperationException("Cannot redirect to new window outside Page context.")
          End If
          url = page.ResolveClientUrl(url)
  
          Dim script As String
          If Not [String].IsNullOrEmpty(windowFeatures) Then
              script = "window.open(""{0}"", ""{1}"", ""{2}"");"
          Else
              script = "window.open(""{0}"", ""{1}"");"
          End If
  
          script = [String].Format(script, url, target, windowFeatures)
          ScriptManager.RegisterStartupScript(page, GetType(Page), "Redirect", script, True)
      End If
  End Sub
  </code></pre>
  
  <p>I tried <code>'fullscreen=yes, scrollbars=yes,location=yes,resizable=yes'</code> parameters. It did not work.</p>