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">
                           <AjaxSettings>
                               <telerik:AjaxSetting AjaxControlID="grdActivity">
                                   <UpdatedControls>
                                       <telerik:AjaxUpdatedControl ControlID="grdActivity" LoadingPanelID="RadAjaxLoadingPanel1" />
                                   </UpdatedControls>
                               </telerik:AjaxSetting>
                           </AjaxSettings>
                       </telerik:RadAjaxManager>
                       <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
                       </telerik:RadAjaxLoadingPanel>
                      <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">
                               <GroupByExpressions>
                                   <telerik:GridGroupByExpression>
                                       <SelectFields>
                                           <telerik:GridGroupByField FieldAlias="Date" FieldName="Date" FormatString="{0:D}"
                                               HeaderValueSeparator=" from date: " />
                                       </SelectFields>
                                       <GroupByFields>
                                           <telerik:GridGroupByField FieldName="Date" SortOrder="Descending" >
                                           </telerik:GridGroupByField>
                                       </GroupByFields>
                                   </telerik:GridGroupByExpression>
                               </GroupByExpressions>
                               <Columns>
                                   <telerik:GridTemplateColumn DataField="Message" HeaderText="Message" UniqueName="Message">
                                       <ItemTemplate>
                                           <asp:Label runat="server" id="Label1" Text='<%# Eval("Type") %>' CssClass="FirstColumn" />   -  
                                           <asp:Label runat="server" id="lblMessage" Text='<%# Eval("Message") %>' />
                                       </ItemTemplate>
                                   </telerik:GridTemplateColumn>
                               </Columns>
                           </MasterTableView>
                           <ClientSettings ReorderColumnsOnClient="True" AllowDragToGroup="True" AllowColumnsReorder="True">
                               <Selecting AllowRowSelect="True"></Selecting>
                               <Resizing AllowRowResize="True" AllowColumnResize="True" EnableRealTimeResize="True"
                               ResizeGridOnColumnResize="False"></Resizing>
               </ClientSettings>
                       </telerik:RadGrid>
    Thanks,
    Ron.
  2. Maria Ilieva
    Admin
    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.

    Greetings,
    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">
                      </telerik:RadAjaxLoadingPanel>
Back to Top