NodeCheck on the RadTreeView control not fired

2 posts, 0 answers
  1. Balraj Atwal
    Balraj Atwal avatar
    1 posts
    Member since:
    Aug 2009

    Posted 13 Oct 2009 Link to this post

    I am trying to use the NodeCheck on the RadTreeView control, version 2009.2.701.20.  The Nodecheck does not fire the server side event, I have other events being fired on the server but not the NodeCheck.  Here is a code snippet :

     <rad:RadTreeView ID="rtvOrganisationStructure" runat="server" ExpandDelay="10" Skin="Office2007"
            AllowNodeEditing="true" DragAndDrop="true" MultipleSelect="true"
            CheckBoxes="true"
            OnNodeEdit="rtvOrganisationStructure_OnNodeEdit"
            OnNodeContextClick="rtvOrganisationStructure_OnNodeContextClick"
            OnNodeDrop="rtvOrganisationStructure_OnNodeDrop"
            OnNodeCheck="rtvOrganisationStructure_OnNodeCheck"
            >
         </rad:RadTreeView>

    &lt;rad:RadTreeView ID="rtvOrganisationStructure" runat="server" ExpandDelay="10" Skin="Office2007"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AllowNodeEditing="true" DragAndDrop="true" MultipleSelect="true" <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CheckBoxes="true"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OnNodeEdit="rtvOrganisationStructure_OnNodeEdit"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OnNodeContextClick="rtvOrganisationStructure_OnNodeContextClick"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OnNodeDrop="rtvOrganisationStructure_OnNodeDrop"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b>OnNodeCheck="rtvOrganisationStructure_OnNodeCheck"</b>&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;/rad:RadTreeView&gt; 


    The only event that does not work is the OnNodeCheck.  Does the scriptManager need to be on the page?  I do not have the scriptManager on the page but all the other events still fire.

    I am doing this with c# and asp.net (3.5)
  2. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 15 Oct 2009 Link to this post

    Hello Balraj Atwal,

    I suppose that you are using the "classic" version of RadTreeView.
    If so, please set the AutoPostBackOnCheck property of the treeview to True.

    Sincerely yours,
    Veselin Vasilev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top