Disable Node Editing

2 posts, 0 answers
  1. Mylez
    Mylez avatar
    6 posts
    Member since:
    Feb 2009

    Posted 21 Apr 2009 Link to this post

    I have the latest release (Q1 2009 SP1).  I have node text editing enabled.  How do I disable this for certain nodes?  It looks like from the examples/articles I looked at there used to be a way to do this, but those methods are no longer available?
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 22 Apr 2009 Link to this post

    Hello Myla,

    To disable node editing for only certain nodes you can set the AllowEdit property to false as shown below:
    aspx:
      <telerik:RadTreeView AllowNodeEditing="true"  ID="RadTreeView1" runat="server"
         <Nodes> 
              <telerik:RadTreeNode  Text="Text1" AllowEdit="false"></telerik:RadTreeNode> 
              <telerik:RadTreeNode  Text="Text2" ></telerik:RadTreeNode> 
              <telerik:RadTreeNode  Text="Text3" ></telerik:RadTreeNode>  
          </Nodes> 
      </telerik:RadTreeView> 

    Thanks
    Princy.
Back to Top