title: How-To Enable Partial Rendering On RADGrid?
body: <h1>Original Post</h1>
  
  <h3>2 Additional Edits Below</h3>
  
  <p>I have a RADGrid on my page, but when the user clicks any of the controls within the grid, Page Forward/Back, Page Number, PageSize, Refresh, Checkbox Row Selector, etc... The entire page refreshes. I would like to have just the Grid itself refresh.  I looked online, but I can't seem to find the information to make it all click.</p>
  
  <p>I am using DNN 6, and I tried programmatically registering the RADAJAXManager (if missing, which it usually is) on the page. I saw people online referring to an EnableAJAX setting, but then later found that it was depreciated in the newer Telerik controls, so that option was ruled out. So then I tried programatically adding the AJAX Settings with the AddAjaxSetting()method. I have tried several variations of the parameters, but nothing happens. Obviously I am doing something wrong...I am looking entirely in the wrong place?</p>
  
  <p>I tried surrounding my RADGrid with an AJAXPanel, but then the issue I had was that instead of the whole page "blinking" on a refresh, the RADGrid completely vanished, then re-appeared. I looked at several of the Demo's on the Telerik site, and I have no clue how they get their RADGrid to use the spinning circle refresh method for just the RADGrid.</p>
  
  <p>I tried setting the page's "Support Partial Rendering" to true, but then what happens is that the whole page gray's out with the spinning circle. I just want to mimic the same behavior as shown on the <a href="http://demos.telerik.com/aspnet-ajax/grid/examples/overview/defaultcs.aspx" rel="nofollow">Telerik Demo's</a>.</p>
  
  <p>Help!!! ::Frustrated::</p>
  
  <p>Any clues or suggestions? </p>
  
  <h2><strong>EDIT 4/18/2012 @ 7:48PM EST</strong></h2>
  
  <p>I am using the following code to create the RADAjaxManager (If missing) on the page where I place my custom user control.</p>
  
  <pre><code>Private Sub RegisterRADAjaxManager(ByVal p_objPage As Page)
      '***************************************
      ' Register RAD AJAX Manager (If Missing)
      '***************************************
      Dim objRADAJAXManager As Telerik.Web.UI.RadAjaxManager = Telerik.Web.UI.RadAjaxManager.GetCurrent(p_objPage)
  
      '***************************************
      ' If RADAJAXManager Is Missing, Add It
      '***************************************
      If (objRADAJAXManager Is Nothing) Then
          objRADAJAXManager = New Telerik.Web.UI.RadAjaxManager
          objRADAJAXManager.ID = "RADAJAXManager"
          p_objPage.Form.Controls.Add(objRADAJAXManager)
      End If 
  End Sub
  </code></pre>
  
  <p>I use the following code to add the Ajax Settings:</p>
  
  <pre><code>'***************************************
  ' Register RADGrid w/ RADAJAXManager
  '***************************************
  With TekkGrid.GetCurrentRADAJAXManager(Me.Page)
      .AjaxSettings.AddAjaxSetting(Me.gridMain, Me.gridMain)
      .AjaxSettings.AddAjaxSetting(Me.gridMain, Me.RADLoadingPanel)
  End With
  </code></pre>
  
  <p>In my ASCX file I have:</p>
  
  <pre><code>&lt;Telerik:RadGrid ID="gridMain" runat="server" /&gt;
  &lt;telerik:RadAjaxLoadingPanel ID="RADLoadingPanel" runat="server"&gt;
  &lt;/telerik:RadAjaxLoadingPanel&gt;
  </code></pre>
  
  <p>Am I missing anything?</p>
  
  <h2><strong>EDIT 4/19/2012 @ 8:56AM EST</strong></h2>
  
  <p>EUREKA! I figured it out. My problem was such a silly one. I have an IF statement on my Page_Load() event that check if IsPostBack. I was only registering the AjaxSettings on the RADAjaxManager if IsPostPack = False. I didn't realize that the RADAjaxManager was being recreated on each PostBack, and therefor I was losing all my AjaxSettings, so I moved the method that did the AjaxSettings registration outside of the IF statement so it always run on every page load, and voilà! It worked!</p>
  
  <p>1) I tested the "Grouping" ability, and it works, however...when I drag a column, you don't "see" the collumn being dragged. All you see is a "crosshair" cursor as you are dragging the column. In the Demo's, when you start dragging a box with the column name inside it appears so you have a visual experience of the "drag/drop" feature. How do I get that same functionality? Anyone know?</p>