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

Problem with AsyncUpload/Ajax Processing using MasterPage/ContentPage

1 Answer 50 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Shonda
Top achievements
Rank 1
Shonda asked on 16 Jun 2011, 03:48 AM
I am following the Demo Project

AsyncUpload / Ajax Processing


In the demo, it states to setup the RadAjax Manager as such:

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="Thumbnail" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>


Since my Asych Upload control is in a Content Page, I am using an RadAjaxManagerProxy.  My problem is if I set the AjaxContorlID to the Proxy's ID, I get a javascript error that I have nested Update Panels.  If I set it to the MasterPage's RadAjaxManager ID, I get a javascript error that ID can't be found.
    
Here is my code.

MasterPage:
 
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" ClientIDMode="Static"
        DefaultLoadingPanelID="ralpDefault">
        <ClientEvents OnRequestStart="centerLoadingPanel"></ClientEvents>
        <AjaxSettings>
        </AjaxSettings>
    </telerik:RadAjaxManager>
     
Content Page:
 
<telerik:RadAjaxManagerProxy ID="rampMyAccount" runat="server" ClientIDMode="Static">
    <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="rbiAvatar" />
                </UpdatedControls>
            </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManagerProxy>

1 Answer, 1 is accepted

Sort by
0
Peter Filipov
Telerik team
answered on 19 Jun 2011, 12:24 AM
Hello Shonda,

Please place your RadAjaxManager on your master page. Please consult with the following help article how to add a control to ajaxsettings.

Best wishes,
Peter Filipov
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
AsyncUpload
Asked by
Shonda
Top achievements
Rank 1
Answers by
Peter Filipov
Telerik team
Share this question
or