RadAjaxManager Proxy Question

2 posts, 0 answers
  1. Sunil
    Sunil avatar
    29 posts
    Member since:
    Jul 2010

    Posted 19 Aug 2010 Link to this post


    I have a page and a user control. The aspx page has an ajax manager and fires a loading animation when controls are clicked on this aspx page.

    However, the user control which is loaded into a panel (Main_PH which is ajax!) does not fire the loading animation etc when any items in the user control ascx are clicked!

    Below is the aspx code:

    <telerik:RadCodeBlock ID="Default_RadCodeBlock" runat="server">
            <script src="Javascript/Jquery/jquery-1.2.3.pack.js" type="text/javascript"></script>
            <script src="Javascript/Jquery/jquery.jclock-2.1.1.js" type="text/javascript"></script>
            <script type="text/javascript"
                <!-- set up clock -->
                $(function($) {
            <!-- Loading Panel -->
            <script src="Javascript/Loading Panel/Loading_Panel.js" type="text/javascript"></script>
            <!-- Delete Department RadConfirm Prompt -->
            <script src="Javascript/Telerik/Delete_Department_RadConfirm.js" type="text/javascript"></script>
    <body id="home">
    <form id="Default_Master_Form" runat="server">
        <telerik:RadScriptManager ID="Default_ScriptManager" runat="server" />
        <telerik:radwindowmanager id="RadWindowManager1" runat="server" Skin="Default" Animation="Fade" AnimationDuration="300" DestroyOnClose="True"></telerik:radwindowmanager>
        <telerik:RadAjaxManager ID="Default_RadAjaxManager" runat="server" 
            <telerik:AjaxSetting AjaxControlID="Main_PH">
                        <telerik:AjaxUpdatedControl ControlID="Main_PH" LoadingPanelID="Default_RadAjaxLoadingPanel">
                <telerik:AjaxSetting AjaxControlID="LinkButton_MM_Inbox">
                        <telerik:AjaxUpdatedControl ControlID="Loading_Panel" LoadingPanelID="Default_RadAjaxLoadingPanel">
        <telerik:RadAjaxLoadingPanel ID="Default_RadAjaxLoadingPanel" runat="server" Skin="Default"/>

    <!-- main content area -->
                    <asp:PlaceHolder ID="Main_PH" runat="server"></asp:PlaceHolder>

    The user control code:

    <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy_Admin" runat="server">
           <telerik:AjaxSetting AjaxControlID="LinkButton_ADMIN_CompanySetup">
                   <telerik:AjaxUpdatedControl ControlID="Loading Panel" LoadingPanelID="Default_RadAjaxLoadingPanel"/>

    Does anyone know what I'm doing wrong? Any help is much appreciated.


  2. Dimo
    Dimo avatar
    8486 posts

    Posted 20 Aug 2010 Link to this post

    Hi Sunil,

    RadAjaxLoadingPanel can be displayed only over controls with non-zero width and height, and these controls must have a wrapper HTML element with the specified ID. PlaceHolders do not have a wrapper element. Please include the Main_PH placeholder in an asp:Panel and ajaxify the asp:Panel instead.

    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top