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

NodeCheck on the RadTreeView control not fired

1 Answer 95 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Balraj Atwal
Top achievements
Rank 1
Balraj Atwal asked on 13 Oct 2009, 03:12 PM
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)

1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 15 Oct 2009, 01:19 PM
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.
Tags
TreeView
Asked by
Balraj Atwal
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or