window.open function in HREF TAG not working
- by Rahul
Hi All,
I am trying to open popup using window.open finction but somehow it's not working ... well below is the code
string properties = "left=250px, top=245px, width=700px, height=450px,scrollbars=yes, status=yes, resizable=yes";
TableCell cell = new TableCell();
cell.Text = "<a href=\"javascript:void(window.open('details.aspx?node="+node+"','"+properties+"'))\">" + "View Details</a>";
But his is not working. While clicking the anchor tag getting javascript error "Invalid argument". Please tell where am I going wrong?
Thanks,
Rahul