Hi all,
I had a asp file that create the treeview as follow and my page is split into 2 view - treeview and content view:
whenever I click on EqpA , it will navigate to EOW.aspx. but may I know how can I pass the selectedNode value to "EOW.aspx". In this case, if I click on EqpA, "EqpA" should be pass to EOW.aspx. Please help. Thanks
<%
@ Page Language="C#" AutoEventWireup="true" CodeFile="MainTreeView.aspx.cs" Inherits="MainTreeView" %>
<
html>
<body>
<form id="frmReport" runat="server">
<asp:TreeView id="ReportTreeView"
runat="server">
<Nodes>
<asp:TreeNode Value="Report"
NavigateUrl="main.aspx"
Text="Report"
Target="Content"
Expanded="True">
<asp:TreeNode Value="EOW"
Text="EOW"/>
<asp:TreeNode Value="EqpA"
NavigateUrl="EOW.aspx"
Text="EqpA"
Target="Content"/>
</asp:TreeView>
</form>
</body>
</
html>