TreeView - Added Control disappearing on NodeClick

2 posts, 0 answers
  1. pradip
    pradip avatar
    40 posts
    Member since:
    Feb 2009

    Posted 25 Jul 2012 Link to this post


    I am having treeView where parent/First node is User Control. It is for user to type item name and click on search button. On Click on search button treeView gets loaded with valid items. It looks like

    - User Control (text box + Button)
       - Item1
       - Item 2
       + Item 3
       - Item 4

    When user is clicking any of the node, like Item 1 or Item 2, User control is disappearing from the treeView. I can only see other node. It is happening only when I am clicking node, if I am trying to expand the node it is maintaining user control as it is.

    Please kindly guide me on how to solve this problem.

  2. Plamen
    Plamen avatar
    2725 posts

    Posted 30 Jul 2012 Link to this post

    Hello Pradip,

    You can refer to this help topic where is shown what are the recommended practices to add and edit templates at run time.

    Hope this will help you.

    Kind regards,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. DevCraft R3 2016 release webinar banner
Back to Top