Loading panel wont show/ajax not working

3 posts, 0 answers
  1. Ron
    Ron avatar
    113 posts
    Member since:
    Apr 2011

    Posted 19 Jan 2012 Link to this post

    I'm not sure if the loading panel is not showing because the ajax manager is not working or vice versa. But I do know the loading panel is not showing and it appears that the page is still performing a postback by the looks of the browser. Can you help? Here's my code
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
                               <telerik:AjaxSetting AjaxControlID="grdActivity">
                                       <telerik:AjaxUpdatedControl ControlID="grdActivity" LoadingPanelID="RadAjaxLoadingPanel1" />
                       <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
                      <div id="RecentActivityContent" class="QuickViewContent">
                         <telerik:RadGrid runat="server" ID="grdActivity" DataSourceID="objActivity" Width="360px"
                          GridLines="Horizontal" Skin="Sunset" ShowHeader="false" >
                          <HeaderStyle CssClass="HistoryGridHeader" />
                           <PagerStyle Mode="NextPrevNumericAndAdvanced"></PagerStyle>
                           <MasterTableView AutoGenerateColumns="false" CssClass="GridRecentActivity">
                                           <telerik:GridGroupByField FieldAlias="Date" FieldName="Date" FormatString="{0:D}"
                                               HeaderValueSeparator=" from date: " />
                                           <telerik:GridGroupByField FieldName="Date" SortOrder="Descending" >
                                   <telerik:GridTemplateColumn DataField="Message" HeaderText="Message" UniqueName="Message">
                                           <asp:Label runat="server" id="Label1" Text='<%# Eval("Type") %>' CssClass="FirstColumn" />   -  
                                           <asp:Label runat="server" id="lblMessage" Text='<%# Eval("Message") %>' />
                           <ClientSettings ReorderColumnsOnClient="True" AllowDragToGroup="True" AllowColumnsReorder="True">
                               <Selecting AllowRowSelect="True"></Selecting>
                               <Resizing AllowRowResize="True" AllowColumnResize="True" EnableRealTimeResize="True"
  2. Maria Ilieva
    Maria Ilieva avatar
    4017 posts

    Posted 19 Jan 2012 Link to this post

    Hello Ron,

    The provided markup and Ajax settings looks correct and the radGrid should perform ajax requests instead of regular postback in this case.
    Could you please set Skin property for the RadAjaxLoadingPanel and verify if this makes a difference.

    Maria Ilieva
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  3. Ron
    Ron avatar
    113 posts
    Member since:
    Apr 2011

    Posted 20 Jan 2012 Link to this post

    I made the change to include the skin but I'm getting the same results.
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Telerik"
                                  Transparency="30" AnimationDuration="3" Width="340px">
Back to Top