title: How do I call Kendo treeview (server data binding type) after success of AJAX post?
body: <p>This is the Kendo treeview I'm using to bind</p>
  
  <pre><code>Html.Kendo().TreeView()
                  .Name("TreeViewTemplateBiding")
                   .Events(events =&gt; events
              .Select("onSelect"))
                          .BindTo((IEnumerable&lt;OrgChart.Models.NodeViewModel&gt;)ViewBag.Tree, (Kendo.Mvc.UI.Fluent.NavigationBindingFactory&lt;TreeViewItem&gt; mappings) =&gt;
                             {
                                 mappings.For&lt;OrgChart.Models.NodeViewModel&gt;(binding =&gt; binding.ItemDataBound((item, node) =&gt;
                                 {
                                     item.Id = node.Id;
                                     item.Text = node.Title;
                                     //item.Url = "/Organizational/Chart/" + node.Id;
                                     //item.Expanded = node.Expanded;
                                 })
                         .Children(node =&gt; node.Children));
                             })
      )
  </code></pre>
  
  <p>And AJAX post is used to get onselect node data and sending it to controller to get its children.</p>
  
  <pre><code>&lt;script&gt;
  function onSelect(e) {
      alert("hi");
      var data = this.text(e.node);
      alert(data);
       var a =  data.split("- ").pop(); 
      alert(a);
      $.ajax({
          url: '@Url.Action("Chart", "Organizational")',
          type: 'Post',
          dataType: 'json',
          data: { a : a },
          async: true,
          cache: false,
          success: function (data) {
              alert("sending");
              process(data);
          },
          error: function (data) {  }
      });
      $(document).ready(function () {
          treeview = $("#treeview").data("kendoTreeView");
      });
  }
  &lt;/script&gt;
  </code></pre>
  
  <p>So after successful posting I need to call again Kendo tree.</p>