Hi friends,
I've a popup.aspx file that I want to display when I click the radTreeNode.
I am programmatically loading the nodes and their individual urls.
Below is the code snippet of another C# code that does this.
Everything is fine but I want to open it us as pop up rather new window.
Thanks,
-Aarsh
I've a popup.aspx file that I want to display when I click the radTreeNode.
I am programmatically loading the nodes and their individual urls.
Below is the code snippet of another C# code that does this.
if (collection.rows.Count > 0){ ScanNode = new RadTreeNode("View Scan: " + scan.CratedDate.ToShortDateString(), ScanID.ToString()); SetNavigationOnNode(ScanNode , User.GetApplicationPath() + "/Imaging/Popup.aspx? <QuerySting Variable and their values> "&Image=" + ImageID); proceedingNode.Nodes.Add(proceedingScanNode);}
SetNavigationOnNode is a function and looks something like this:private void SetNavigationOnNode(RadTreeNode node, string url){ if (needPopupJS) node.Attributes.Add("onclick", GetRadWindowJS(url)); else node.NavigateUrl = url;}Everything is fine but I want to open it us as pop up rather new window.
Thanks,
-Aarsh