Opening a new window in asp.net
<p>When i click a particular video in grid view that video should be played in a new window.</p>

<p>When i click a video in grid view i will check certain conditions in server side page. Only if that condition is true i want to play that video in new window (or) tab.</p>

<p>If that condition is false then i want to play the selected video in the same page itself.</p>

<p><strong>This is my code:</strong></p>

<pre><code>if(videoCategoryName.CategoryName=="Syndicated Videos")
{ 
  string url = www.planetwrox.com + "/" +  "default.aspx?q=videoid
  string fullURL = "window.open('www.google.com', '_blank', 'height=500,width=800');";
  ScriptManager.RegisterStartupScript(this, typeof(string), "OPEN_WINDOW", fullURL, true);
}
</code></pre>

<p>But new is not opened. instead the video plays in the same window.</p>

<p>Can any one provide some ideas or code to solve this issue.</p>
