Loading whole page when we check checkbox.

2 posts, 0 answers
  1. Nagendra
    Nagendra avatar
    35 posts
    Member since:
    Jan 2011

    Posted 13 Sep 2011 Link to this post


      I have radtreeview and radgrid in my page. In radtreeview i have checkboxes. when i check the checkbox, that node details loading from database and binding to radgrid. All these functionalities working fine.

     But when i check the another check box, it's loading all the selected checkbox's data from database every time (Whole page loading).
    It's taking lot of time. So  I am planing to implement ajax, Can you please provide me sample links or sample applications.

     Please find the attached screen shot of my page.

    Thanks and Regards,

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 13 Sep 2011 Link to this post

    Hello Nagendra,
    Here is a sample aspx to achieve the same.

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
      <telerik:AjaxSetting AjaxControlID="RadTreeView1">
            <telerik:AjaxUpdatedControl ControlID="RadGrid1"></telerik:AjaxUpdatedControl>
    <telerik:RadTreeView ID="RadTreeView1" runat="server" CheckBoxes="True" Height="280px" OnNodeCheck="RadTreeView1_NodeCheck">
      <telerik:RadTreeNode Text="Software" Expanded="true">
            <telerik:RadTreeNode Text="Business &amp; Office" />
      <telerik:RadTreeNode Text="Books">
            <telerik:RadTreeNode Text="Arts" />
    <telerik:RadGrid runat="server" ID="RadGrid1" AutoGenerateColumns="true">
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>" SelectCommand="SELECT  LastName FROM [Employees]">
    <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"SelectCommand="SELECT  FirstName FROM [Employees]">

Back to Top