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

[Solved] RadAjaxManagerProxy Confusion

2 Answers 141 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 2
Michael asked on 23 May 2008, 03:34 PM
I'll make my example simple for now: I have a master page and in the content page, I want a radcombo to update a radgrid with AJAX.  I have the RadAjaxManager in the master (not even sure if this is necessary??)  and I'm using the proxy in the content. 

The comob ajaxifies the grid just fine.  But what I don't get, is that when I page in the grid, it uses ajax as well.  How is that?  Here's what it looks like:

    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" InitialDelayTime="0" MinDisplayTime="1000" Transparency="1" runat="server" Height="75px" 
        Width="75px"
        <img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading3.gif") %>' 
            style="border: 0px;" /> 
    </telerik:RadAjaxLoadingPanel>  
  <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server"
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="rdcboCategories"
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl LoadingPanelID="RadAjaxLoadingPanel1" ControlID="rdgrdProducts" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
    </telerik:RadAjaxManagerProxy> 

2 Answers, 1 is accepted

Sort by
0
Accepted
Konstantin Petkov
Telerik team
answered on 26 May 2008, 06:19 AM
Hello Michael,

The AJAX Manager instance in the MasterPage is a requirement for the proxy to AJAX-Enable the content page. The proxy just passes the AJAX settings to the manager on the master page. The manager surrounds the updated controls with UpdatePanels so you get those ajaxified as well.

I hope this clears the confusion.

All the best,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Michael
Top achievements
Rank 2
answered on 28 May 2008, 12:07 AM
This does eliminate the confusion I had.  Thank you.
Tags
Ajax
Asked by
Michael
Top achievements
Rank 2
Answers by
Konstantin Petkov
Telerik team
Michael
Top achievements
Rank 2
Share this question
or