我的页面中有以下代码:
<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>
上面的“mygrid”是RadGrid,具有分组和分页功能.目的是扩展组或更改页面“没有”回发(我认为这应该是RadAjaxManager的目标,无论如何).
但毕竟,组件仍然回发… =(
一些暗示可能是什么?
问候!
解决方法
试试这个:
<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>