<%@ Page %>
<%@ Register TagPrefix="ec" Namespace="ASPNETExpert.WebControls" Assembly="ASPNETExpert.WebControls" %>
<%@ Register TagPrefix="ecd" Namespace="ASPNETExpert.WebControls.DemoControls" Assembly="ASPNETExpert.WebControls.DemoControls" %>
<%@ Register TagPrefix="ecd" TagName="Header" Src="Controls/Header.ascx"%>
<%@ Register TagPrefix="ecd" TagName="Footer" Src="Controls/Footer.ascx"%>
<%@ Register TagPrefix="ecd" TagName="PassTreeState" Src="Advanced/PassTreeState.ascx"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>ASP.NET Tree : ExpertTree Demo : PassTreeStateOnChangeLocation</title>
<LINK href="style.css" type="text/css" rel="stylesheet">
</HEAD>
<body xmlns:ec="urn:http://aspnetexpert.com/ExpertControls.xsd">
<form runat="server" ID="Form1">
<ecd:Header runat=server ID="Header1" />
<table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" width="100%">
<tr>
<td vAlign="top">
<ec:ExpertTree id="PTSNavigationTree" Skin="XP" runat="server" PassTreeStateOnChangeLocation="true" ExpandOnClick="true" CollapseOnClick="true" EnableViewState="false">
<TreeLook Width="260" Height="320px" Overflow="Scroll" />
<Nodes>
<ec:TreeNode Text="Section A" Expanded="true">
<Nodes>
<ec:TreeNode Text="SubSection A" NavigateUrl="PTSNavigationA.aspx?SubSection=A" />
<ec:TreeNode Text="SubSection B" NavigateUrl="PTSNavigationA.aspx?SubSection=B" />
<ec:TreeNode Text="SubSection C" NavigateUrl="PTSNavigationA.aspx?SubSection=C" />
<ec:TreeNode Text="SubSection D" NavigateUrl="PTSNavigationA.aspx?SubSection=D" />
<ec:TreeNode Text="SubSection E" NavigateUrl="PTSNavigationA.aspx?SubSection=E" />
<ec:TreeNode Text="SubSection F" NavigateUrl="PTSNavigationA.aspx?SubSection=F" />
<ec:TreeNode Text="SubSection G" NavigateUrl="PTSNavigationA.aspx?SubSection=G" />
<ec:TreeNode Text="SubSection H" NavigateUrl="PTSNavigationA.aspx?SubSection=H" />
</Nodes>
</ec:TreeNode>
<ec:TreeNode Text="Section B" Expanded="true">
<Nodes>
<ec:TreeNode Text="SubSection A" NavigateUrl="PTSNavigationB.aspx?SubSection=A" />
<ec:TreeNode Text="SubSection B" NavigateUrl="PTSNavigationB.aspx?SubSection=B" />
<ec:TreeNode Text="SubSection C" NavigateUrl="PTSNavigationB.aspx?SubSection=C" />
<ec:TreeNode Text="SubSection D" NavigateUrl="PTSNavigationB.aspx?SubSection=D" />
<ec:TreeNode Text="SubSection E" NavigateUrl="PTSNavigationB.aspx?SubSection=E" />
<ec:TreeNode Text="SubSection F" NavigateUrl="PTSNavigationB.aspx?SubSection=F" />
<ec:TreeNode Text="SubSection G" NavigateUrl="PTSNavigationB.aspx?SubSection=G" />
<ec:TreeNode Text="SubSection H" NavigateUrl="PTSNavigationB.aspx?SubSection=H" />
</Nodes>
</ec:TreeNode>
<ec:TreeNode Text="Section C" Expanded="true">
<Nodes>
<ec:TreeNode Text="SubSection A" NavigateUrl="PTSNavigationC.aspx?SubSection=A" />
<ec:TreeNode Text="SubSection B" NavigateUrl="PTSNavigationC.aspx?SubSection=B" />
<ec:TreeNode Text="SubSection C" NavigateUrl="PTSNavigationC.aspx?SubSection=C" />
<ec:TreeNode Text="SubSection D" NavigateUrl="PTSNavigationC.aspx?SubSection=D" />
<ec:TreeNode Text="SubSection E" NavigateUrl="PTSNavigationC.aspx?SubSection=E" />
<ec:TreeNode Text="SubSection F" NavigateUrl="PTSNavigationC.aspx?SubSection=F" />
<ec:TreeNode Text="SubSection G" NavigateUrl="PTSNavigationC.aspx?SubSection=G" />
<ec:TreeNode Text="SubSection H" NavigateUrl="PTSNavigationC.aspx?SubSection=H" />
</Nodes>
</ec:TreeNode>
</Nodes>
</ec:ExpertTree>
</td>
<td valign=top width="100%" style="padding-left:10px;">
<table cellpadding=0 cellspacing=0 border=0 width="100%" align=center>
<tr>
<td style="font-family:Verdana, Tahoma, Arial;font-size : 14px;font-weight: bold;padding:3px 0px 3px 0px;">Section A > <%=Request["SubSection"]%></td>
</tr>
</table>
<ecd:PassTreeState runat="server" />
</td>
</tr>
</table>
<ecd:Footer runat=server ID="Footer1" />
</form>
</body>
</HTML>