I am successfully able to work with the code you showed.Thank you much, now i need to show and hide the command buttons in some nodes.(Hide) only if they are not you cannot not add or edit else show.
For example:
Node A *Do not Show (Edit New Delete) Command Buttons
1 *Show (Edit New Delete) Buttons
Node 1 *Do not Show (Edit New Delete) Command Buttons
11*Show (Edit New Delete) Command Buttons
12 *Do not Show (Edit New Delete) Command Buttons
13*Do not Show (Edit New Delete) Command Buttons
Node 11
Node11 1 *Do not Show (Edit New Delete) Command Buttons
Node11 2*Do not Show (Edit New Delete) Command Buttons
Node11 3 *Do not Show (Edit New Delete) Command Buttons
Node11 4*Do not Show (Edit New Delete) Command Buttons
Node11 5*Do not Show (Edit New Delete) Command Buttons
Node11 6*Do not Show (Edit New Delete) Command Buttons
Node11 7*Do not Show (Edit New Delete) Command Buttons
Node11 8*Do not Show (Edit New Delete) Command Buttons
Node11 9*Do not Show (Edit New Delete) Command Buttons
Node11 10*Do not Show (Edit New Delete) Command Buttons
In addtion
I would like to allow user's only upto 10 Nodes to be added in Node 11 if he tries to add new add paging show page 1
at the end and show edit textboxes in page 2
Node 11
Node11 11 *Do not Show (Edit New Delete) Command Buttons
.
.
.
.
.
.
.
.
Node11 20*Do not Show (Edit New Delete) Command Buttons
[1]2
Where Page 1 will hold Node 11- 1.....11-10
Page 2 will holds 11-11 - 11- 20
..
To Page N
Thanks