Question : scrollbars on treeviews

Hello

Ive been trying to get scrollbars on a treeview to work properly, i have added a panel around my treeview and gave my panel the scrollbars, but they look disabled and the treeview just grows and grows and the scrollbars are never scrollable. This is my markup for my web form.

<div id="right" class="right">
                <fieldset class="rightbox">
                    <legend>Work Boxes</legend>
                    <asp:Panel id="panel" class="tv.panel" runat="server" ScrollBars="Vertical">
                    <asp:TreeView ID="tvWO" class="tv" runat="server" Font-Bold="True"  
                        ImageSet="XPFileExplorer" ExpandDepth="1" ShowCheckBoxes="Parent"
                        LineImagesFolder="~/TreeLineImages" onselectednodechanged="tvWO_SelectedNodeChanged"
                        ToolTip="Collection of Work Order Data" NodeIndent="15" >
                            <LevelStyles>
                                <asp:TreeNodeStyle Font-Underline="False" ForeColor="#003399" />
                            </LevelStyles>
                            <Nodes>
                                <asp:TreeNode Text="Work Order: " Selected="True"
                                    ToolTip="Serial Numbers will be added here to specific box"
                                    ShowCheckBox="False" Value="Work Order:">
                                </asp:TreeNode>
                            </Nodes>
                        <ParentNodeStyle Font-Bold="False" />
                        <HoverNodeStyle Font-Underline="True" ForeColor="#6666AA" />
                        <SelectedNodeStyle Font-Underline="False" HorizontalPadding="0px"
                                VerticalPadding="0px" BackColor="#B5B5B5" />
                        <NodeStyle Font-Names="Tahoma" Font-Size="8pt" ForeColor="Black" HorizontalPadding="2px"
                            NodeSpacing="0px" VerticalPadding="2px" />
                        <LeafNodeStyle BackColor="#FFFFCC" BorderStyle="Ridge" />
                    </asp:TreeView>
                    </asp:Panel>
                </fieldset>
                <br />
                <asp:Button ID="btnDelete" runat="server" onclick="btnDelete_Click"
                    Text="Delete Box" Width="85px" BackColor="#9CCDF1" BorderWidth="1px"
                    Font-Bold="True"
                    ToolTip="Delete all boxes for work order after sent to finished goods" />
            </div>

Answer : scrollbars on treeviews

I got this from a website:

SUDO for solaris
 
Installing Packages from website
Download from http://www.sunfreeware.com/ftp/pub/freeware/companioncd/intel/nevada/

Unzip compressed package
bunzip2 SFWsudo.pkg.bz2

Install package
pkgadd -d SFWsudo.pkg


Using sudo package
ln -s /opt/sfw/sbin/visudo /usr/sbin/visudo
ln -s /opt/sfw/bin/sudo /usr/bin/sudo
ln -s /opt/sfw/etc/sudoers /etc/sudoers

Add wheel group and users to wheel group
cat /etc/group | grep wheel
wheel::11:root,anwar

Uncomment the line in /etc/sudoers
cat /etc/sudoers | grep wheel | grep -v \#
%wheel ALL=(ALL) NOPASSWD: SETENV: ALL

sudo needs to be setuid root in order to work
chmod 4111 /opt/sfw/bin/sudo

then login as your user, then type sudo su -
Random Solutions  
 
programming4us programming4us