How to remove line breaks in TreeView? [modified]
-
Hi there, I'm using TreeView control in one sample aspx page. It has one Parent Node and 3 child nodes. While running the application or in design page, that line is breaking and gap is visible in that web page. Please help me how to remove the Line Break?. The code is:
<asp:TreeView ID="SampleTreeView" ShowLines="true" runat="server" > <Nodes> <asp:TreeNode Value="Home" NavigateUrl="Home.aspx" ImageToolTip="1" Text="Home" Target="Content" Expanded="True"> <asp:TreeNode Value="Page 1" ImageToolTip="Home" NavigateUrl="Page1.aspx" Text="Page1" Target="Content"> <asp:TreeNode Value="Section 1" ImageToolTip="Section" NavigateUrl="Section1.aspx" Text="Section 1" Target="Content" /> </asp:TreeNode> <asp:TreeNode Value="Page 2" ImageToolTip="2" NavigateUrl="Page2.aspx" Text="Page 2" Target="Content"> </asp:TreeNode> <asp:TreeNode Value="Page 3" NavigateUrl="Page2.aspx" Text="Page 3" Target="Content"> </asp:TreeNode> </asp:TreeNode> </Nodes> </asp:TreeView>
Regards n Thks Sam.M
modified on Thursday, March 20, 2008 1:49 AM
-
Hi there, I'm using TreeView control in one sample aspx page. It has one Parent Node and 3 child nodes. While running the application or in design page, that line is breaking and gap is visible in that web page. Please help me how to remove the Line Break?. The code is:
<asp:TreeView ID="SampleTreeView" ShowLines="true" runat="server" > <Nodes> <asp:TreeNode Value="Home" NavigateUrl="Home.aspx" ImageToolTip="1" Text="Home" Target="Content" Expanded="True"> <asp:TreeNode Value="Page 1" ImageToolTip="Home" NavigateUrl="Page1.aspx" Text="Page1" Target="Content"> <asp:TreeNode Value="Section 1" ImageToolTip="Section" NavigateUrl="Section1.aspx" Text="Section 1" Target="Content" /> </asp:TreeNode> <asp:TreeNode Value="Page 2" ImageToolTip="2" NavigateUrl="Page2.aspx" Text="Page 2" Target="Content"> </asp:TreeNode> <asp:TreeNode Value="Page 3" NavigateUrl="Page2.aspx" Text="Page 3" Target="Content"> </asp:TreeNode> </asp:TreeNode> </Nodes> </asp:TreeView>
Regards n Thks Sam.M
modified on Thursday, March 20, 2008 1:49 AM
Have you solved this?
"The clue train passed his station without stopping." - John Simmons / outlaw programmer