CreateNode event not fired

2 posts, 0 answers
  1. Kristoffer
    Kristoffer avatar
    158 posts
    Member since:
    Dec 2012

    Posted 13 Feb 2013 Link to this post

    AllowAdd = true;

    When I right-click a node and choose "New", I want to make sure that the Tag of RadTreeNode is set to some important data. I'd expect the CreateNode event to solve this:

    private void radTreeView_CreateNode(object sender, CreateTreeNodeEventArgs e)
    {
        e.Node.Tag = obj;
    }

    However, this event is not called when I choose "New". Is this a bug or a feature?
  2. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 18 Feb 2013 Link to this post

    Hello Kristoffer,

    Thank you for writing.

    I managed to reproduce the issue and I have logged it in our 
    Public Issue Tracking System. Feel free to add your vote / subscribe for status updates here: http://www.telerik.com/support/pits.aspx#/public/winforms/14300.

    In the meantime, please use the NodeAdded/ing events of RadTreeView instead.

    Your 
    Telerik Points have been updated for this report.

    I hope that you find this information useful. Let us know if you need anything else.

    Greetings,
    Stefan
    the Telerik team
    Q3'12 SP1 of RadControls for WinForms is out now. See what's new.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top