Treeview in web browser

Hi Experts,

I'm writing a web application in vs2008 using visual basic and have a treeview on my page.

I can't get the scroll bar to appear.  I've set the height property, placed the treeview in a div control with an absolute height but as I add items to the treeview it just extends down the page, no scrollbar, any ideas?
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

pschramaConnect With a Mentor Commented:
You need to set overflow to scroll, by setting the CssClass on the TreeView and use overflow: scroll in that class. For example:

    <style type="text/css">
          height: 300px;
          overflow: scroll;

    <asp:TreeView ID="TreeView1" runat="server" CssClass="treeview">

The default for overflow is visible, so it will still render.
MOSSPOINTAuthor Commented:
Thanks, works a treat
All Courses

From novice to tech pro — start learning today.