Hello. I have this code where I'm trying to pop-up a small window with javascript from my dynamic list. My code is below, I get two pop-up windows, one (resim.aspx) and another one that has "javascript:my_window=window.open('Resim.aspx?ID=12345678','my_window','width=300,height=300');my_window.focus()" on the address bar. How can I make this sure that only one pop-up window comes up. Thank you.
foreach (String strC in ServiceList)
{
TreeNode newNode = new TreeNode(strC.ToString());
newNode.NavigateUrl = "javascript:my_window=window.open('Resim.aspx?ID=12345678','my_window','width=300,height=300');my_window.focus()"
newNode.Target = "_blank";
newNode.SelectAction = TreeNodeSelectAction.Select;
newNode.PopulateOnDemand = false;
node.ChildNodes.Add(newNode);
)