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

AfterLabelEdit and CancelEdit

1 Answer 74 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Marek
Top achievements
Rank 1
Marek asked on 04 Sep 2007, 03:35 PM
It appears as though the CancelEdit inside an AfterLabelEdit event handler does not work.  I know that AfterLabelEdit has been marked as obsolete, but this is the only way to do what I need to do (please see earlier post).  The code below is therefore ignored and the label is updated.

Best regards

Marek

void DerivedTree_AfterLabelEdit(object sender, Telerik.WinControls.UI.NodeLabelEditEventArgs e)
{
  e.CancelEdit =
true;
}

1 Answer, 1 is accepted

Sort by
0
Jordan
Telerik team
answered on 05 Sep 2007, 10:44 AM
Hello Marek,

You can find the combined answer in your other post "AfterLabelEdit and EndEdit".

 
Sincerely yours,
Jordan
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Treeview
Asked by
Marek
Top achievements
Rank 1
Answers by
Jordan
Telerik team
Share this question
or