title: Telerik Grid not showing data after postback in ASP.NET WebForms
body: <p>I am trying to create a Telerik RadGrid control with some basic data, and am using the Simple Data Bind method provided <a href="http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/data-binding/understanding-data-binding/server-side-binding/simple-data-binding" rel="nofollow">here</a>.</p>
  
  <pre><code>&lt;div id="divRadGrid"&gt;
      &lt;telerik:RadGrid ID="RadGrid1" runat="server" OnSortCommand="RadGrid1_SortCommand" AllowSorting="True"&gt;&lt;/telerik:RadGrid&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Here's the code behind. When the user clicks the Run button, everything works fine. However, if I click on any event inside the grid, such as Sorting on a column, I see the page refreshes, but the grid does not display anything.</p>
  
  <p>Any suggestions would be very much appreciated.</p>
  
  <pre><code>using System;
  using System.Data;
  using System.Collections.Generic;
  using Telerik.Web.UI;
  
  namespace TelerikDemoWebAppBlank2
  {
      public partial class Default : System.Web.UI.Page
      {
          public DataTable SalespersonProductionDT { get; set; }
          public DataTable NewBusinessDT { get; set; }
  
          protected void Page_Load(object sender, EventArgs e)
          {
  
          }
  
          protected void BtnRun_Click(object sender, EventArgs e)
          {
              getData();
              processNewBusiness();
          }
  
          protected void RadGrid1_SortCommand(object sender, GridSortCommandEventArgs e)
          {
              dataBindGrid(RadGrid1, NewBusinessDT);
          }
  
          private void getData()
          {
              SalespersonProductionDT = new DataTable();
              Sprocs._pDash_SalespersonProduction(BeginDate.SelectedDate.Value, EndDate.SelectedDate.Value, SalespersonProductionDT);
  
              NewBusinessDT = new DataTable();
              Sprocs._pDash_NewBusiness(BeginDate.SelectedDate.Value, EndDate.SelectedDate.Value, NewBusinessDT);
          }
  
          private void processNewBusiness()
          {
              dataBindChart(RadHtmlChart3, NewBusinessDT);
              dataBindGrid(RadGrid1, NewBusinessDT);
          }
  
          private void dataBindChart(RadHtmlChart radHtmlChart, DataTable dt)
          {
              radHtmlChart.DataSource = dt;
              radHtmlChart.DataBind();
          }
  
          private void dataBindGrid(RadGrid radGrid, DataTable dt)
          {
              radGrid.DataSource = dt;
              radGrid.DataBind();
          }
      }
  }
  </code></pre>