Telerik RadAjaxManager still postbacks

Kira picture Kira · Aug 13, 2010 · Viewed 10k times · Source

I've the following code in my page:

<telerik:RadAjaxManager ID="ajax_manager" runat="server" 
    DefaultLoadingPanelID="ajax_panel">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="mygrid">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="mygrid" />
            </UpdatedControls>
        </telerik:AjaxSetting>            
    </AjaxSettings>
</telerik:RadAjaxManager>

The "mygrid" above is a RadGrid, with grouping and paging. The purpose is to expand the groups or change the page "without" postbacks (I think that should be the objective of the RadAjaxManager, anyway).

But after all, the components still postbacks... =(

Some hint of what could it be?

Regards!

Answer

arlen picture arlen · Apr 1, 2011

Try this one :

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting>
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadAjaxPanel1" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" IsSticky="False"
    Skin="Web20" Style="position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;"
    EnableSkinTransparency="true" Transparency="0">
</telerik:RadAjaxLoadingPanel>
<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1">
**YOUR GRID**
</telerik:RadAjaxPanel>