is this code is write or wrong?
imgbtnProdSearch.Attributes.Add("onclick", "window.open('popUp.aspx?name=" +txtSelectProdName.ClientID+"','_new','width=1000px,height=1000px');return false");
is this code is write or wrong?
imgbtnProdSearch.Attributes.Add("onclick", "window.open('popUp.aspx?name=" +txtSelectProdName.ClientID+"','_new','width=1000px,height=1000px');return false");
have u tried adding the code in Page Load as follows.
protected void Page_Load(object sender, EventArgs e)
{
imgbtnProdSearch.Attributes.Add("onclick", "window.open('popUp.aspx','_new','width=1000px,height=1000px');return false");
}
EDIT...
protected void Page_Load(object sender, EventArgs e)
{
imgbtnProdSearch.Attributes.Add("onclick", "window.open('popUp.aspx','_new','width=1000px,height=1000px');return true");
}