Avoid pop-up blocker settings when opening new Window.
plz reply me fast new window opened but it is asking popupblocks how to resolve this prbm
function SetTarget() {
document.forms[0].target = "_blank";
}
c#code
....................
protected void Image2_Click(object sender, ImageClickEventArgs e)
{
string url = Image2.ImageUrl;
string script = string.Format("window.open('{0}');", url);
ScriptManager.RegisterStartupScript(Page, Page.GetType(),
"newPage" + UniqueID, script, true);
}


Nigel FernandesPosted Feb 11, 2016, 2:51 AM