use scrollbars in Treeview on website
am 16.04.2008 15:15:23 von Ton
Hi,
How can I limit the size of a treeview on a webform so the user can scroll
on its page.
I've allready placed the control in a DIV like:
NodeIndent="15" Width="176px" ShowLines="True">
Font-Bold="False">
Font-Underline="True">
HorizontalPadding="0px" VerticalPadding="0px" Font-Underline="False"
BorderStyle="Solid">
ForeColor="Black" VerticalPadding="2px" Font-Size="8pt"
Font-Names="Tahoma">
but nothing happens, the entire list is shown and visible on the webpage
thanx
ton
Re: use scrollbars in Treeview on website
am 16.04.2008 17:46:38 von Mick Wilson
You've defined the treeview's position as absolute, taking it out of
the parent div. Try applying the overflow property to the treeview
itself or redesigning to preserve the relationship between the
container div and your treeview control so that the overflow property
applies successfully to both.