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

RadAjaxLoadingPanel In MasterPage - Error

1 Answer 24 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Jean-Yves
Top achievements
Rank 1
Jean-Yves asked on 22 Feb 2014, 11:40 AM
Hi, 

I'm having an issue... But I don't know why / where... Can you help me?

I think that I've isolated the problem.
In my Page I have:
<telerik:RadAjaxManager ID="RAMP" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RG">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RG" LoadingPanelID="LP" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>

If I put my 
<telerik:RadAjaxLoadingPanel ID="LP" runat="server" ZIndex="100000001" />
in the same page, it's working well.
If I put this same code in the master page of the page then the ajax calls are not working...

When my RadAjaxLoadingPanel is in the masterpage, in the console I have this:
POST... 500 (Internal Server Error) ... Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RSM_TSM


Can you help me please?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 1
answered on 24 Feb 2014, 07:21 AM
Hi Jean-Yves,

Please have a look into the sample code snippet which works fine at my end.

MasterPage.ASPX:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" ZIndex="100000001" runat="server" Skin="Default">
</telerik:RadAjaxLoadingPanel>

ContentPage.ASPX:
<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="Button1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="Panel1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManagerProxy>
<asp:Button ID="Button1" runat="server" Text="Submit" />
<asp:Panel ID="Panel1" runat="server" Style="border: 1px solid red; height: 50px;
    width: 50px;">
</asp:Panel>

Thanks,
Shinu.
Tags
Ajax
Asked by
Jean-Yves
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
Share this question
or