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

error when enabling "allowedit"

1 Answer 16 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
andi
Top achievements
Rank 1
andi asked on 26 Jan 2008, 04:47 PM
in order to change a nodes text property i'm trying to use the "edited" event and get the following error: "Object reference not set to an instance of an object."

can anybody help?

further  i'm looking for events to integrate database operations after the treeview element was modified:

- after a node is beeing deleted
- before a node is beeing deleted
- after node's text property is beeing changed
- a node is beeing added

a working example with the different functions would be great!

thanks, andreas

1 Answer, 1 is accepted

Sort by
0
Jordan
Telerik team
answered on 28 Jan 2008, 01:22 PM
Hi Andreas,

Currently there is no way to get a notification when the nodes collection is changed (i.e. when a node is added/removed). We have this feature scheduled for the Q1 2008 release (due in mid April).

Regarding the Edited event. Could you please tell me what actions you perform to fire that exception. It would be best if you send a sample code so that I can reproduce and fix the issue.

Thank you for your cooperation.

All the best,
Jordan
the Telerik team

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