TreeView should have properties to set to a specific URL.
See some code snippet below..
TreeNode tempNode = new TreeNode(StructMenu.strMenuName, StructMenu.iMenuID.ToString(), "", strMenuLink, "");
if (StructMenu.strMenuLink == "")
{
tempNode.SelectAction = TreeNodeSelectAction.None;
}
inTreeNode.ChildNodes.Add(tempNode);
tNode = inTreeNode.ChildNodes[i];
i++;
AddNode(iMenuIDLocal, tNode);//Recursive calling.