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

Help debugging AJAX behavior

1 Answer 47 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Reuven
Top achievements
Rank 1
Reuven asked on 17 Dec 2010, 11:30 AM
I can't figure out why some pages require me to have a proxy manager control, while others are AJAXified automatically...

my scenario:

masterpage: <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"/>
page: (with 2 usercontrols, uc1 affects uc2)
<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="uc1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="uc2" UpdatePanelRenderMode="Inline" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManagerProxy>
uc1: has a radgrid - need an ajaxmanagerproxy on the page with the radgrid updating itself in order for the the page to update. All controls need to be included as an ajaxsetting to update.
uc2: all controls post back within the usercontrol, no ajaxmanagerproxy needed

Any ideas on what this can be or how I can figure out what's happening?

Thanks,
Reuven

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 22 Dec 2010, 02:31 PM
Hi Reuven,

I'm not completely sure if I correctly understand the problem you are facing. Are you saying that the UC2 is automatically ajaxified and perform callback without having RadAjaxManagerProxy on it? If this is the case, note that this is expected. As you are adding this UserControl as updated control in the main RadAjaxManagerProxy and this control is a container control it will perform Ajax in each internal functions.


All the best,
Maria Ilieva
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
Reuven
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or