Welcome Guest Search | Active Topics | Sign In | Register

Auto Collapse in Tree View Options
Peymaneh
Posted: Thursday, September 20, 2007 7:16:25 AM
Rank: Member
Groups: Member

Joined: 9/14/2007
Posts: 12
Hi,

I have a tree view which bounded to database. When I click on a node in my tree view it automatically collapse the node. How can I get rid of auto collapse?

Thanks,


eo_support
Posted: Thursday, September 20, 2007 7:48:07 AM
Rank: Administration
Groups: Administration

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

A few details would help. You say clicking a a node "automatically collapse the node". Does it always do that or only do it at certain condition? If only at certain condition then what condition? If always, then how did you get it expanded at the very first place? We can't help you unless you clearly describe the problem.

Thanks
Peymaneh
Posted: Thursday, September 20, 2007 7:52:49 AM
Rank: Member
Groups: Member

Joined: 9/14/2007
Posts: 12
thank you,
here is my tree view. and it collapse allways after I click on a node.

<eo:TreeView ID="tvMilestone" runat="server" ControlSkinID="None" AutoScroll="False" DataFields="siMilestoneID|chPageDesc" RaisesServerEvent="True" >

<LookNodes>
<eo:TreeNode ItemID="_TopGroup">
<SubGroup Style-CssText="color:white;">
</SubGroup>
</eo:TreeNode>
<eo:TreeNode DisabledStyle-CssText="" ItemID="_TopLevelItem" NormalStyle-CssText=""
SelectedStyle-CssText="">
<SubGroup Style-CssClass="programmenunodetop" Style-CssText="">
</SubGroup>
</eo:TreeNode>
<eo:TreeNode HoverStyle-CssClass="programmenunodehover" ItemID="_Default" NormalStyle-CssClass="programmenudefault"
SelectedStyle-CssClass="programmenunodeselect">
<SubGroup Style-CssText="">
</SubGroup>
</eo:TreeNode>
</LookNodes>
<Margin Width="0" />
<TopGroup Style-CssClass="programtreeview" DataFields="siMilestoneID|chPageDesc">
<Bindings>
<eo:DataBinding DataField="chCollapseImage" Depth="0" Property="CollapsedImageUrl" />
<eo:DataBinding DataField="chExtendImage" Depth="0" Property="ExpandedImageUrl" />
<eo:DataBinding DataField="chPageAddress" Depth="1" Property="NavigateUrl" />
</Bindings>
<Nodes>
<eo:TreeNode
ShowCheckBox="False" RaisesServerEvent="True">
<SubGroup>
<Nodes>
<eo:TreeNode RaisesServerEvent="True" >
<SubGroup>
</SubGroup>

</eo:TreeNode>
</Nodes>
</SubGroup>
</eo:TreeNode>
</Nodes>
</TopGroup>
<LineImages Visible="False" />
</eo:TreeView>

Thanks again,
eo_support
Posted: Thursday, September 20, 2007 1:39:41 PM
Rank: Administration
Groups: Administration

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

I do not know why it would do that. Can you create a small sample reproducing project so that we can load and run at here in order to see the problem?

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.