RadAjaxLoadingPanel not displaying on ajaxRequest

3 posts, 0 answers
  1. Sean Severson
    Sean Severson avatar
    56 posts
    Member since:
    Aug 2009

    Posted 29 Nov 2010 Link to this post

    I have a main page that contains several user controls.  One user control displays a RadWindow for entering information and then, upon close, refreshes a grid via an ajaxRequest.  The main page contains the RadWindowManager, RadAjaxManager, and the RadAjaxLoadingPanel.  I am able to add a new record and have the grid updated asynchronously,  except that the AjaxLoadingPanel is not displayed when the grid is updating.  The AjaxLoadingPanel does display when the "trigger" for the Asynchronous postback is the grid itself, however.

    This is the javascript that runs OnClientClose of the RadWindow...
    var radAjaxMgr = $find('<%= PageRadAjaxManager.clientID %>');
    radAjaxMgr.ajaxRequestWithTarget('<%= NotesGrid.clientID %>', '');
    $find('<%= PageRadAjaxManager.clientID %>').ajaxRequest('Note');

    Here is the code to set the AjaxRequest handler and to register the grid with the AjaxManager.
    Dim manager As RadAjaxManager = RadAjaxManager.GetCurrent(Page) 
    AddHandler manager.AjaxRequest, AddressOf PalNoteTaskListAjaxManager_AjaxRequest
      
    PageRadAjaxManager.AjaxSettings.AddAjaxSetting(manager, TaskGrid, lpWait)

    This is the code for the AjaxRequest handler...

    Protected Sub PalNoteTaskListAjaxManager_AjaxRequest(ByVal sender As Object, ByVal e As Telerik.Web.UI.AjaxRequestEventArgs)
           Select Case e.Argument
               Case "Task"
                   PopulateTaskGrid(False)
               Case "CompTask"
                   PopulateCompletedTaskGrid(False)
               Case "Note"
                   FillNoteGrid(False)
           End Select
       End Sub

    This is the AjaxLoadingPanel...
    <telerik:RadAjaxLoadingPanel
        id="lpWait" 
        InitialDelayTime="0" 
        runat="server"
        Transparency="10"  
        Height="100%" Width="100%" >
        <table Height="200px" Width="100%" >
           <tr valign="middle" >
              <td align="center">
                 <img src="/SI/Images/status_anim.gif"  title="Wait" />
              </td
           </tr>
        </table
    </telerik:RadAjaxLoadingPanel>

    Thanks for your help!

    Sean M. Severson
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 30 Nov 2010 Link to this post

    Hello Sean,

    Could you please try showing and hiding the LoadingPanel explicitly on the Ajax requests. Please refer to the following help topic for more information on this matter.
    Let me know if this helps.


    Sincerely yours,
    Maria Ilieva
    the Telerik team
    Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  3. Sean Severson
    Sean Severson avatar
    56 posts
    Member since:
    Aug 2009

    Posted 02 Dec 2010 Link to this post

    Maria Ilieva,

    I will look over the help topic you provided and see if I can manually display the loading panel.  Thank you for your help.

    Sean M. Severson
Back to Top