Hi all, When i click a particular video in grid view that video should be played in a new window.
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.
If that condition is false then i want to play the selected video in the same page itself.
This is my 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);
}
But new is not opened. instead the video plays in the same window.
Can any one provide some ideas or code to solve this issue.