RadAjaxManagerProxy is not working

4 posts, 0 answers
  1. Dhamodharan
    Dhamodharan avatar
    300 posts
    Member since:
    Sep 2010

    Posted 08 Dec 2010 Link to this post

    Hi,

    I have masterpage in my project. so i am using RadAjaxManager in my MasterPage. so in my page unable to use RadAjaxManager for ajax ladoing. so i am using RadAjaxManagerProxy for ajaxSetting. buti have error message.

    Even i used javascript within code block.

    here it is my code.

    <telerik:RadCodeBlock ID="rcbBenefitEnroll" runat="server">
        <script language="javascript" type="text/javascript">
        function EraseErrMsg()
         {        
                document.getElementById('<%=lblErrMsg.ClientID%>').innerText = "";             
         }
        function confirmMsg(rdoId,gridName,ddlId)
        {
             var rdo = document.getElementById(rdoId);
            var all = document.getElementsByTagName("input");
            if (rdo.checked)
            {
             return confirm("Are you sure want to waive this plan?");
            }
        }
        </script>  
        </telerik:RadCodeBlock>    
        <telerik:RadAjaxManagerProxy ID="rampBenefitEnenroll" runat="server">
             <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="rgDependents">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="rgDependents" LoadingPanelID="ralpbenenroll" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
     </telerik:RadAjaxManagerProxy>

    <telerik:RadAjaxLoadingPanel ID="ralpbenenroll" runat="server">
        </telerik:RadAjaxLoadingPanel>

    The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).

    how to resolve this problem.

    Please give me a tips.

    Thanks in advance,
    Dhamu
  2. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 08 Dec 2010 Link to this post

    Hello,

    Please try to replace the RadCodeBlock with RadScriptBlock and see if it helps. You can also review RadCodeBlock and RadScriptBlock help article for additional information.

    Kind regards,
    Pavlina
    the Telerik team
    Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  3. Dhamodharan
    Dhamodharan avatar
    300 posts
    Member since:
    Sep 2010

    Posted 13 Dec 2010 Link to this post

    Hi Pavlina,

    I used RadScriptBlock. but i have same problem for this one. but i am using some grid into tap. inside the grid loading panel working fine. but outside the tab loading page return error message.

    What shall i do,

    Please give me a suggestion for this problem,

    Thanks in Advance,
    Dhamu.
  4. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 13 Dec 2010 Link to this post

    Hi,

    I am afraid that based on the provided information it is hard to determine the exact cause for the issue you are facing. Please open a formal support ticket and send us a  project we can use to reproduce the problem.

    All the best,
    Pavlina
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Back to Top