|
Rank: Member Groups: Member
Joined: 5/12/2009 Posts: 20
|
Hi,
I have a eoTreeView with a couple of TopGroup Nodes. Problem: The first two are idle: They do not navigate to the NavigateUrl and they do not expand. If I insert two more TopGroup Nodes before them, they react like they should. It seems like in my TreeView, no matter how many TopGroup Nodes I add, only the nodes from node 3 on downwards are active. If I change to only one top group node and use all my nodes as child nodes it works.
I reduced my (formely complex) nodes group to a simple two-nodes treeview but still the problem persists. I am working with EOWeb for ASP.Net 2.0, File version 10.0.21.2. The TreeView is in a Contentplaceholder.
Should be a known issue?
My eoTreeView code:
<asp:ContentPlaceHolder id="cphNav" runat="server"> <eo:treeview id="tvEO" runat="server" controlskinid="None" savestatecrosspages="True" AutoSelectSource="ItemClick" StateCookieName="eotv"> <LookNodes> <eo:TreeNode DisabledStyle-CssText="background-color:transparent;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-style:none;color:Gray;padding-bottom:1px;padding-left:1px;padding-right:1px;padding-top:1px;" ItemID="_Default" NormalStyle-CssText="PADDING-RIGHT: 1px; PADDING-LEFT: 1px; PADDING-BOTTOM: 1px; COLOR: black; BORDER-TOP-STYLE: none; PADDING-TOP: 1px; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: transparent; BORDER-BOTTOM-STYLE: none" SelectedStyle-CssText="background-color:#316ac5;border-bottom-color:#999999;border-bottom-style:solid;border-bottom-width:1px;border-left-color:#999999;border-left-style:solid;border-left-width:1px;border-right-color:#999999;border-right-style:solid;border-right-width:1px;border-top-color:#999999;border-top-style:solid;border-top-width:1px;color:White;padding-bottom:0px;padding-left:0px;padding-right:0px;padding-top:0px;"> </eo:TreeNode> </LookNodes>
<TopGroup> <Nodes> <eo:TreeNode Text="Acceuil" NavigateUrl="~/Default.aspx" Value="Start"> <SubGroup> <Nodes> <eo:TreeNode Text="New Tree Node"> </eo:TreeNode> </Nodes> </SubGroup> </eo:TreeNode> <eo:TreeNode Text="Hydrologie" NavigateUrl="~/Default.aspx" NormalStyle-CssText="font-weight:bold;"></eo:TreeNode> </Nodes> </TopGroup> </eo:treeview>
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
We tested your code and it works fine. So it must have something to do with something else in your project. If you have the page online we can take a look and see what we can find. Otherwise you can try to isolate the problem into a test project and send the test project to us. Once we have that we will try to run it here and see if we can reproduce the problem.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 5/12/2009 Posts: 20
|
Oh You're so fast. Just after posting I found that it had to do with some style settings which deactivated the top part of my contentplaceholder. I was just about to find out how to delete my post...
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
No problem. Glad to hear that you found out the root cause!
|
|