RadAjaxManager not updating

1 posts, 0 answers
  1. Amer
    Amer avatar
    1 posts
    Member since:
    Jan 2013

    Posted 01 Jan 2013 Link to this post

    I 'm doing some customization on an existing page which uses a RadAjaxManager to update some controls.
    I have a check box "chkEndUser" which on checking  updates other controls (ddlenduser,....).
    When you checks the code,you will find that each control updates the others,so I added an Ajax setting for each control.
    When I check the chkEndUser  the RadAjaxLoadingPanel appears on this control,but the control still disabled(not updated).
    When I remove RadAjaxManag every thing goes right.


    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>          
               <telerik:AjaxSetting AjaxControlID="btnReturnBack">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadGridDeliveryInfo" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="error" LoadingPanelID="RadAjaxLoadingPanel1" />                                                          
                    </UpdatedControls>
                </telerik:AjaxSetting>              
               <telerik:AjaxSetting AjaxControlID="btnApplyVendorToAllItems">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="grdPOInfo" LoadingPanelID="RadAjaxLoadingPanel1" />                                      
                    </UpdatedControls>
                </telerik:AjaxSetting>    
               <telerik:AjaxSetting AjaxControlID="grdItems">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="grdItems" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="ddlEndUser" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="chkEndUser" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="chkResearchProjectBudget" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="chkBudget" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="ddlResearchProjectBudget" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="ddlBudgets" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="error" LoadingPanelID="RadAjaxLoadingPanel1" />                   
                    </UpdatedControls>
                </telerik:AjaxSetting>           
                <telerik:AjaxSetting AjaxControlID="grdPOInfo">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="grdPOInfo" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="RadGridDeliveryInfo">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadGridDeliveryInfo" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="chkEndUser">
                    <UpdatedControls>
                    
                        <telerik:AjaxUpdatedControl ControlID="ddlEndUser" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="pnlEndUser" LoadingPanelID="RadAjaxLoadingPanel1" />                    
                        <telerik:AjaxUpdatedControl ControlID="ddlResearchProjectBudget" LoadingPanelID="RadAjaxLoadingPanel1" />  
                        <telerik:AjaxUpdatedControl ControlID="ddlBudgets" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="chkBudget" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="chkResearchProjectBudget" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="grdItems" LoadingPanelID="RadAjaxLoadingPanel1" />
                                          
                    </UpdatedControls>
                </telerik:AjaxSetting>

                <telerik:AjaxSetting AjaxControlID="ddlEndUser">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="pnlEndUser" LoadingPanelID="RadAjaxLoadingPanel1" />
                          <telerik:AjaxUpdatedControl ControlID="grdItems" LoadingPanelID="RadAjaxLoadingPanel1" />
                          <telerik:AjaxUpdatedControl ControlID="chkEndUser" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="ddlResearchProjectBudget" LoadingPanelID="RadAjaxLoadingPanel1" />  
                        <telerik:AjaxUpdatedControl ControlID="ddlBudgets" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="chkBudget" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="chkResearchProjectBudget" LoadingPanelID="RadAjaxLoadingPanel1" />
                        
                    </UpdatedControls>
                </telerik:AjaxSetting>

                <telerik:AjaxSetting AjaxControlID="grdVendorInfo">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="grdVendorInfo" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="ddlSSJustification" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="lblSSJustification" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="txtSSJustification" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="ddlSSJustification">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="lblSSJustification" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="txtSSJustification" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="chkResearchProjectBudget">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="ddlResearchProjectBudget" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="ddlBudgets" LoadingPanelID="RadAjaxLoadingPanel1" />  
                        <telerik:AjaxUpdatedControl ControlID="chkResearchProjectBudget" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="chkBudget" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="grdItems" LoadingPanelID="RadAjaxLoadingPanel1" />                    
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="chkBudget">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="ddlResearchProjectBudget" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="ddlBudgets" LoadingPanelID="RadAjaxLoadingPanel1" />  
                        <telerik:AjaxUpdatedControl ControlID="chkResearchProjectBudget" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="grdItems" LoadingPanelID="RadAjaxLoadingPanel1" />                    
                    </UpdatedControls>
                </telerik:AjaxSetting>
                 <telerik:AjaxSetting AjaxControlID="ddlResearchProjectBudget">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="grdItems" LoadingPanelID="RadAjaxLoadingPanel1" />  
                        <telerik:AjaxUpdatedControl ControlID="chkResearchProjectBudget" LoadingPanelID="RadAjaxLoadingPanel1" />  
                        <telerik:AjaxUpdatedControl ControlID="chkBudget" LoadingPanelID="RadAjaxLoadingPanel1" />
                         <telerik:AjaxUpdatedControl ControlID="ddlBudgets" LoadingPanelID="RadAjaxLoadingPanel1" />
                                                                
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="ddlBudgets">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="grdItems" LoadingPanelID="RadAjaxLoadingPanel1" />  
                        <telerik:AjaxUpdatedControl ControlID="chkBudget" LoadingPanelID="RadAjaxLoadingPanel1" />  
                        <telerik:AjaxUpdatedControl ControlID="ddlResearchProjectBudget" LoadingPanelID="RadAjaxLoadingPanel1" />  
                        <telerik:AjaxUpdatedControl ControlID="chkResearchProjectBudget" LoadingPanelID="RadAjaxLoadingPanel1" />
                                                               
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="btnSaveCurrentStatus">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="txtCurrentStatus" LoadingPanelID="RadAjaxLoadingPanel1" />                                         
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="btnClearCurrentStatus">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="txtCurrentStatus" LoadingPanelID="RadAjaxLoadingPanel1" />                                         
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="optMultiVendors">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="pnl_poTab_vendorOptein_details" LoadingPanelID="RadAjaxLoadingPanel1" />   
                        <telerik:AjaxUpdatedControl ControlID="optMultiVendors" />
                        <telerik:AjaxUpdatedControl ControlID="optSingleVendor" />                                                           
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="optSingleVendor">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="pnl_poTab_vendorOptein_details" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="optMultiVendors"  />
                        <telerik:AjaxUpdatedControl ControlID="optSingleVendor" />                                         
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" InitialDelayTime="0">
            <table style="width: 100%; height: 100%;">
                <tr style="height: 100%;">
                    <td style="width: 100%; text-align: center; vertical-align: middle;">
                        <img alt="Loading..." src="../Images/6.gif" style="border-right: 0px; border-left: 0px;
                            border-top: 0px; border-bottom: 0px;" />
                    </td>
                </tr>
            </table>
        </telerik:RadAjaxLoadingPanel>
Back to Top