Issue with TreeView in an ASP.NET master page

40s

New Member
If I click the treeview in master page's leftside menu, the file should open in contect place holder (main). Below is my code.\[code\]<form id="form1" runat="server"> <table> <tr> <td> <asp:TreeView ID="TreeView1" runat="server"> <Nodes> <asp:TreeNode Expanded="True" Text="Sample Links" Value="http://stackoverflow.com/questions/5631892/Sample Links"> <asp:TreeNode NavigateUrl="~/one.htm" Target="fmain" Text="First Node" Value="http://stackoverflow.com/questions/5631892/First Node"></asp:TreeNode> <asp:TreeNode NavigateUrl="~/two.htm" Target="fmain" Text="Second Node" Value="http://stackoverflow.com/questions/5631892/Second Node"></asp:TreeNode> <asp:TreeNode NavigateUrl="~/three.htm" Target="fmain" Text="Third Node" Value="http://stackoverflow.com/questions/5631892/Third Node"></asp:TreeNode> </asp:TreeNode> </Nodes> </asp:TreeView> </td> <td> <asp:ContentPlaceHolder id="tmain" runat="server"> </asp:ContentPlaceHolder> </td> </tr> </table></form>\[/code\]
 
Top