Find checked TreeView nodes

2 posts, 1 answers
  1. Stefania
    Stefania avatar
    100 posts
    Member since:
    May 2013

    Posted 17 Dec 2014 Link to this post

    I populated my treeview like this
    <telerik:RadClientDataSource runat="server" ID="TreeViewDataSource">
                                  <WebServiceDataSourceSettings BaseUrl="PivotAndChartsReportWebService.asmx/">
                                      <Select Url="GetTreeViewList" DataType="JSON" RequestType="Post" ContentType="application/json; charset=utf-8" />
                              <ClientEvents />
                              <Schema DataName="d">

    <telerik:RadTreeView ID="RadTreeView1" runat="server" ClientIDMode="AutoID" OnClientTreePopulated="ExpandNodes"  
                            CheckBoxes="True" CheckChildNodes="True" ResolvedRenderMode="Classic" TriStateCheckBoxes="False"
                               DataFieldID="Id" DataFieldParentID="ParentId" DataTextField="Text" DataValueField="Id" PersistLoadOnDemandNodes="false" Height="300px" Width="100%">

    How can I find the checked nodes on server side?

  2. Answer
    Plamen avatar
    2723 posts

    Posted 22 Dec 2014 Link to this post

    Hello Stefania,

    When you are using ClientDataSource on the server you don't have access to the nodes because everything is performed on the client side. If you need the nodes on the server you will have to use some serve binding.

    Hope this will explain the issue.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. DevCraft R3 2016 release webinar banner
Back to Top