This is a migrated thread and some comments may be shown as answers.

Wrong node info - NodeExpand event

1 Answer 56 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Claudiu
Top achievements
Rank 1
Claudiu asked on 13 Oct 2009, 07:40 AM
Hello,
I have the following scenario with the Telerik RadControls for ASP.NET Ajax 2009.2.826.20 :
Two panels (P1 (left), P2(right)). In P1 there is a RadTreeView with LoadOnDemand (ServerSideCallback mode). When adding nodes, in the controls collection of the node I have to add a dinamically created table with informations specific for each node. For text I use a Label added in the same collection and node.Value contains the ID of the info. On the client, I am using some functions to remove the table element from each node and display it in the P2 panel. All is good, until I want to expand a node. On the server, in the NodeExpand event handler the Node property of the Telerik.Web.UI.RadTreeNodeEventArgs e argument has a wrong node info. If I have a root node and 5 children nodes and I want to expand the 4th children node, in e.Node I find the text and value of the 2nd node.

Can you tell me what is wrong? Is there any fix for this?

Regards,
Claudiu

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 15 Oct 2009, 01:54 PM
Hello Claudiu,

We are not sure why this problem may occur. I recommend you open a support ticket and send us a sample project which shows your problem. Thanks.

Regards,
Albert,
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
TreeView
Asked by
Claudiu
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or