TreeView Edit, LostFocus Event Problems

2 posts, 0 answers
  1. Baskar
    Baskar avatar
    9 posts
    Member since:
    Feb 2009

    Posted 16 Sep 2011 Link to this post

    Dear Experts

    Am using RadTreeView Control. i am trying to add ,Edit and Delete a node dynamically.
    am able to add ,edit and delete the node in the treeview, but the problem am facing is

    1. sometimes when i select the node and click Add, its not showing in EditMode to enter the "Node Name".  (This case happens ocassionally, but when i kept the breakpoint and traverse the code, its working fine. thatsy i couldnt able to find out)
    2. Sometimes the Header text is gets disabled (i.e Text is Empty) when we traverse the node in the treeview
    3. i selected the node to add childnode below that. But the selected item says "null".
    4. i have implement add, Edit functionality in Lost_Focus Event, once a movement i added a node, and select any node in the treeview, The Lost_Focus event  is fires 2 to 3 times

     Thanks in Advance

  2. Kiril Stanoev
    Kiril Stanoev avatar
    1512 posts

    Posted 21 Sep 2011 Link to this post

    Hi Baskar,

    Thank you for contacting us.

    1. Could you please try setting the Edit mode in a Dispatcher.

    For 2,3 and 4: I am not sure how you traverse and select tree items. Also I don't think that LostFocus is the most appropriate event.

    Could you please send me a sample project reproducing the issues and demonstrating you scenario. This way I will be able to assist you faster and more appropriately.

    Thank you for your cooperation.

    Kiril Stanoev
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top