This is a migrated thread and some comments may be shown as answers.

RadGrid Update Panel causes Message display above grid.

1 Answer 42 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Pete
Top achievements
Rank 1
Pete asked on 03 Jan 2011, 05:10 PM
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

1 Answer, 1 is accepted

Sort by
0
Pete
Top achievements
Rank 1
answered on 03 Jan 2011, 05:25 PM
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
Tags
Grid
Asked by
Pete
Top achievements
Rank 1
Answers by
Pete
Top achievements
Rank 1
Share this question
or