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

CreateNode event not fired

1 Answer 55 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Kristoffer
Top achievements
Rank 1
Kristoffer asked on 13 Feb 2013, 12:26 PM
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?

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 18 Feb 2013, 08:23 AM
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.
Tags
Treeview
Asked by
Kristoffer
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or