RadGrid Update Panel causes Message display above grid.

2 posts, 0 answers
  1. Pete
    Pete avatar
    14 posts
    Member since:
    Jun 2010

    Posted 03 Jan 2011 Link to this post

    Hello,
    I have the following problem with my Update Panel and the Rad Grid.  When I perform a post back on the rad grid I get the following message directly above the Rad Grid.  "56|updatePanel|RadAjaxManager1SU|| ".

    A snipet of the loading panel is as follows:
    <rad:RadScriptManager runat="server" ID="radSM"></rad:RadScriptManager>  
           <rad:RadAjaxLoadingPanel ID="LoadingPanel" 
            CssClass="AjaxLoadingPanelBackground"
            runat="server"
            Transparency="10" >
            <div class="AjaxLoadingPanel" >
                <div style="font-family: Arial; font-size: 0.7em; font-weight: bold;">Loading...
                </div>
                <img src="I/loading.gif" alt="Loading.."/>
            </div>
        </rad:RadAjaxLoadingPanel
      
    <asp:Panel ID="pnlSelectionList" runat="server" Height="285px" HorizontalAlign="Center" Width="1000px" Wrap="False">
                                <%--<asp:Panel ID="pnlGrid" runat="server" HorizontalAlign="Center" Width="100%"> --%>            
                                        <rad:RadAjaxManager ID="RadAjaxManager1" EnableAJAX="true" runat="server">
                                        <AjaxSettings>
                                            <rad:AjaxSetting AjaxControlID="RadGrid1">
                                                <UpdatedControls>
                                                    <rad:AjaxUpdatedControl ControlID="pnlSelectionList" LoadingPanelID="LoadingPanel" />
                                                    <rad:AjaxUpdatedControl ControlID="RadGrid1" />                                                                                                                                              
                                                </UpdatedControls>
                                            </rad:AjaxSetting>
                                        </AjaxSettings>
                                    </rad:RadAjaxManager>                                                                                                   
                                    <rad:RadGrid id="RadGrid1"
                                        EnablePostBackOnRowClick="false" 
                                        OnItemCreated="RadGrid1_ItemCreated"                                  
                                        OnPreRender="RadGrid1_PreRender"                                                                      
                                        ShowStatusBar="false" 
                                        runat="server" 
                                        AllowPaging="False" 
                                        AllowSorting="True"
                                        AllowMultiRowSelection="True" 
                                        AutoGenerateColumns="false"                                     
                                        ClientSettings-Resizing-ResizeGridOnColumnResize="false"                                    
                                        OnNeedDataSource="RadGrid1_NeedDataSource"
                                        EnableViewState="true"                                                                        
                                        Width="100%"   Height="92%"  Skin="Windows7" AllowFilteringByColumn="true"  EnableLinqExpressions="false">
                                        <MasterTableView PageSize="10" Width="95%" TableLayout="Fixed"  EnableViewState="true"  CommandItemDisplay="None">
                                            <Columns>                        
                                                <rad:GridTemplateColumn UniqueName="CheckBoxTemplateColumn"  
                                                HeaderStyle-Width="10%" 
                                                HeaderStyle-HorizontalAlign="Center" 
                                                AllowFiltering="false">
                                                    <HeaderTemplate>
                                                     <asp:CheckBox id="headerChkbox" 
                                                        Text="Select All" 
                                                        OnCheckedChanged="ToggleSelectedState" 
                                                        AutoPostBack="True" 
                                                        runat="server"></asp:CheckBox>
                                                    </HeaderTemplate>
                                                    <ItemTemplate >
                                                        <asp:CheckBox id="CheckBox1" 
                                                        OnCheckedChanged="ToggleRowSelection" 
                                                        AutoPostBack="False" 
                                                        runat="server" 
                                                        Width="65"></asp:CheckBox>
                                                    </ItemTemplate>
                                                </rad:GridTemplateColumn>
                                              </Columns>
                                        </MasterTableView>
                                        <ClientSettings EnableRowHoverStyle="true" 
                                                        Resizing-AllowColumnResize="true"
                                                        Resizing-AllowRowResize="false"  
                                                        Resizing-EnableRealTimeResize ="false" 
                                                        Resizing-ResizeGridOnColumnResize="false" 
                                                        Resizing-ClipCellContentOnResize ="false" 
                                                        EnablePostBackOnRowClick="false">                                                    
                                            <Scrolling AllowScroll ="true" UseStaticHeaders="true" />
                                            <ClientEvents OnColumnResized="OnColumnResized" />     
                                            <Selecting AllowRowSelect="true" />                                   
                                        </ClientSettings>
                                        <PagerStyle Mode="Slider"></PagerStyle>
                                    </rad:RadGrid>

    Any input is appreciated.
    Thanks,
    Pete
  2. Pete
    Pete avatar
    14 posts
    Member since:
    Jun 2010

    Posted 03 Jan 2011 Link to this post

    Please disregard, I found my issue.  I was calling the loading panel from within the panel I was loading.  This seemed to cause it to run on itself and produce the message.
    Pete
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top