hwilliford 0 Newbie Poster

I've added a treeview control <asp:TreeView.....> to a web application. The control is nested within a form tag, which itself is nested under an HTML div tag. It looks like this:

<div id="sidebar">
    <form id="form1" runat="server">
      <asp:TreeView id="TreeView1" runat="server" DataSourceID="XmlDataSource1".......>
     </form>
</div>

The control works fine except that the entire control (i.e. tree) moves with the page when the page is vertically scrolled so that you can never see the bottom nodes in the tree. Its like those annoying popup adds that move down in response to a onmousedown event.

Any suggestions?

Here are the specs:

ASP.NET 2.0, IE 7.0, bound to XML data source (file).

Thanks in advance.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.