Welcome Guest Search | Active Topics | Sign In | Register

TreeView - Getting white boxes where line images would be Options
Augie
Posted: Tuesday, August 11, 2009 7:36:44 PM
Rank: Member
Groups: Member

Joined: 6/19/2009
Posts: 12
Hello, I am trying to use the treeview control in a side bar with a background color but it appears with boxes around the cells that would normally carry the line images for the treeview. I currently have them off however, it makes no difference if they are on or off.
Code below:
Code: HTML/ASPX
<eo:TreeView ID="TreeView1" runat="server" ControlSkinID="None"
                    EnableViewState="true" DesignOptions-BackColor="Transparent">
                    <LineImages Visible="false" ImageHeight="0" ImageWidth="0"  />
                    <LookNodes>
                        <eo:TreeNode ItemID="_Default" 
                            HoverStyle-CssText="   color:#000000;font-family: Arial; font-size: 9pt; font-weight: Bold;padding-right: 3px; padding-left: 3px; padding-bottom: 1px; padding-top: 1px;text-transform: uppercase"
                            NormalStyle-CssText="  color:#918e8e;font-family: Arial; font-size: 9pt; font-weight: Bold;padding-right: 3px; padding-left: 3px; padding-bottom: 1px; padding-top: 1px;text-transform: uppercase"
                            SelectedStyle-CssText="color:#000000;font-family: Arial; font-size: 9pt; font-weight: Bold;padding-right: 3px; padding-left: 3px; padding-bottom: 1px; padding-top: 1px;text-transform: uppercase">
                            <SubGroup ItemSpacing="4">
                            </SubGroup>
                        </eo:TreeNode>
                    </LookNodes>
                    <TopGroup Style-CssText="cursor:hand;font-family:Arial;font-size:8pt;color:#000000;text-transform: uppercase;">
                        <Nodes>
                            <eo:TreeNode Expanded="True" Text="Main Title" LookID="_Default" NormalStyle-CssText="color:#000000">
                                <SubGroup>
                                    <Nodes>
                                        <eo:TreeNode Text="Link 1" NavigateUrl="Link1.aspx">
                                        </eo:TreeNode>
                                        <eo:TreeNode Text="Link 2" NavigateUrl="Link2.aspx">
                                        </eo:TreeNode>
                                        <eo:TreeNode Text="Link 3" NavigateUrl="Link3.aspx">
                                        </eo:TreeNode>
                                    </Nodes>
                                </SubGroup>
                            </eo:TreeNode>
                        </Nodes>
                    </TopGroup>
                </eo:TreeView>
eo_support
Posted: Tuesday, August 11, 2009 8:31:15 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Can you let us know what version you are running? We tested with the latest version and it seems to work fine here.

Thanks!
Augie
Posted: Tuesday, August 11, 2009 10:05:09 PM
Rank: Member
Groups: Member

Joined: 6/19/2009
Posts: 12
The version of the DLL is 7.0.11.2, Also I have the treeview control inside of a table cell with a background image that creates the shading for the navigation.
Augie
Posted: Wednesday, August 12, 2009 10:27:51 AM
Rank: Member
Groups: Member

Joined: 6/19/2009
Posts: 12
Well, I found that if I remove the ItemSpacing="4" from the SubGroup tag on the _Default Look item, the artifact goes away. It appears to be a border around the image that it creates. So I added a css class to remove the borders around the images.
eo_support
Posted: Wednesday, August 12, 2009 10:35:19 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Thanks for the update. We have tried the code exactly as is but we are not able to see any problem. If you continue to have problem, you may want to check other CSS styles in your page. External CSS styles can often interfere a control.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.