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

RadAjaxManagerProxy is not working

3 Answers 208 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Dhamodharan
Top achievements
Rank 1
Dhamodharan asked on 08 Dec 2010, 01:14 PM
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

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 08 Dec 2010, 01:39 PM
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.
0
Dhamodharan
Top achievements
Rank 1
answered on 13 Dec 2010, 10:32 AM
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.
0
Pavlina
Telerik team
answered on 13 Dec 2010, 12:06 PM
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.
Tags
Ajax
Asked by
Dhamodharan
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Dhamodharan
Top achievements
Rank 1
Share this question
or