title: Prevent asp popup window from pop up blocker
body: <p>I am using the following code to get popup window in asp .net before sending text in database. But due to popup blocker pop up dose not come.</p>
  
  <pre><code>string strPopup = "&lt;script language='javascript' ID='script1'&gt;"
  
      // Passing intId to popup window.
      + "window.open('sharepopup.aspx?data=" + HttpUtility.UrlEncode(intId.ToString())
  
      + "','new window', 'top=90, left=200, width=500, height=500, dependant=no, location=0, alwaysRaised=no, menubar=no, resizeable=no, scrollbars=n, toolbar=no, status=no, center=yes')"
  
      + "&lt;/script&gt;";
  
          ScriptManager.RegisterStartupScript((Page)HttpContext.Current.Handler, typeof(Page), "Script1", strPopup, false);
    cmd = new SqlCommand("Insert Into ChatTB values(column names) ", con);
  </code></pre>