Wrong node info - NodeExpand event

2 posts, 0 answers
  1. Claudiu
    Claudiu avatar
    4 posts
    Member since:
    Sep 2007

    Posted 13 Oct 2009 Link to this post

    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
  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 15 Oct 2009 Link to this post

    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.
Back to Top