title: Telerik AJAX and updating a RadGrid
body: <p>I have an ASP.NET page that displays a RadGrid with data. It displays a list of "groups" that members belong to. It shows the group name, and also an Edit and a Delete button. (There is also a seperate Add button on the page). Pretty standard stuff.</p>
  
  <p>When you click a button to edit a group, we launch a new form in a RadWindow. This is a seperate ASPX page that shows up in the RadWindow. You can edit the name of the group, and add/remove members. </p>
  
  <p>When you close the window, your changes are persisted to the database, and then an AJAX call is initiated via JavaScript. All it really does is re-set the DataSource of the grid (so we pickup the changes that we just saved to the database) and also calls a Grid.ReBind(). </p>
  
  <p>The problem I'm having is that, while everything appears to be executing, the changes don't appear on the grid until you refresh the page. This is because (I believe) that even though we changed the Grid DataSource, no postback occurs, and so, nothing new is displayed.</p>
  
  <p>I was able to "fix" this by calling a little JavaScript magic to force a page refresh, and this works, however the entire page refreshes, and that looks ugly. </p>
  
  <p>I tried adding the RadWindow to the AjaxManagerProxy like this, in hopes that it would AJAXify the grid refresh, but that's doesn't do it. </p>
  
  <pre><code>&lt;telerik:RadAjaxManagerProxy ID="RadProxy1" runat="server"&gt;
      &lt;AjaxSettings&gt;
          &lt;telerik:AjaxSetting AjaxControlID="RadWindowManager1"&gt;
              &lt;UpdatedControls&gt;
                  &lt;telerik:AjaxUpdatedControl ControlID="GridGroups" /&gt;                                    
              &lt;/UpdatedControls&gt;
          &lt;/telerik:AjaxSetting&gt;
      &lt;/AjaxSettings&gt;
  &lt;/telerik:RadAjaxManagerProxy&gt;
  </code></pre>
  
  <p>SO... the question is, how do I force the grid to refresh in an AJAX way? Without forcing an entire page refresh?</p>