click or any other window... just add attribute like ...
imgbtn.Attributes.Add("onclick", "javascript:window.open('" + Text.Replace(" ", "_") + "/LargeImage.aspx?data=" + str + "','LargeImage','width=500,height=500,scrollbars=yes'); return false;"); //here imgbtn is my image control name
No comments:
Post a Comment