title: How to Bring javascript Popup in Gridview selected index?
body: <p>Open popup window on grid view selected index. The code work's fine but it bring a new tab I need a pop window</p>
  
  <pre><code>protected void gvUsrlist_SelectedIndexChanged(object sender, EventArgs e)
  {
  
      Response.Write(@"&lt;script language=""javascript""&gt;window.open('MyCustm.aspx');&lt;/script&gt;");
  </code></pre>
  
  <p>or</p>
  
  <pre><code>Response.Write(@"&lt;script language=""javascript""&gt;var myOpenedWindow = myOpenedWindow || window.open('MyCustm.aspx', '');&lt;/script&gt;");
  </code></pre>
  
  <p>proper solution needed in java script if possible</p>