Welcome Guest Search | Active Topics | Sign In | Register

Treeview ItemClick Options
kennaxx
Posted: Wednesday, May 20, 2009 4:35:46 PM
Rank: Advanced Member
Groups: Member

Joined: 4/30/2009
Posts: 36

I have a treeview and at ItemClick event I am trying to find all the expanded nodes. During Debugging it says that they are all collapsed/expanded=false. I have tried this with ASP Treeview it gives me the right results.

private void TrvExpanded(EO.Web.TreeView InTrv)
{
foreach (EO.Web.TreeNode node in InTrv.Nodes)
{
string expanded;
if(node.Expanded == true)
expanded = "Expanded";
else
expanded = "Collapsed";
}
}


protected void TrvGroup_ItemClick(object sender, EO.Web.NavigationItemEventArgs e)
{
TrvExpanded(TrvGroup);
}

Where can I find out the real/actuall state of the Treeview?

Thanks

Kennaxx
eo_support
Posted: Wednesday, May 20, 2009 4:44:13 PM
Rank: Administration
Groups: Administration

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

We tested the feature and it works fine here.

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.