Hi there,
I am trying to reproduce the partial update functionality shown on the Telerik examples site (http://www.telerik.com/demos/aspnet/prometheus/Controls/Examples/Default/DefaultCS.aspx) where the middle pane is refreshed on clicking an item in the left-hand nav without causing the whole page to flicker. Is there a standard way to do this? I have been experimenting with the following code in an ASPX file (the RadAjaxManager itself is in a master page):
<telerik:RadAjaxManagerProxy runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="pnlTemp">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="btnTemp"></telerik:AjaxUpdatedControl>
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManagerProxy>
<asp:Label ID="lblTemp" runat="server" Text="nothing"></asp:Label>
<asp:Panel ID="pnlTemp" runat="server">
<asp:Button ID="btnTemp" runat="server" Text="Button" />
<asp:Button ID="btnTemp2" runat="server" Text="Button2" />
</asp:Panel>
If I specify the whole panel as the Ajax control, this doesn't work (i.e., clicking a button causes the whole page to be refreshed), whereas if I nominate one of the buttons directly, it does work. Does this indicate anything? Ultimately, I want to have a LH nav consisting of a RadPanelBar, with the "leaf" items (i.e., those with no children) triggering partial-page post-backs that refresh the centre pane but leave the top and LH navs unchanged (so no flicker).
All advice gratefully received,
Ed Graham
I am trying to reproduce the partial update functionality shown on the Telerik examples site (http://www.telerik.com/demos/aspnet/prometheus/Controls/Examples/Default/DefaultCS.aspx) where the middle pane is refreshed on clicking an item in the left-hand nav without causing the whole page to flicker. Is there a standard way to do this? I have been experimenting with the following code in an ASPX file (the RadAjaxManager itself is in a master page):
<telerik:RadAjaxManagerProxy runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="pnlTemp">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="btnTemp"></telerik:AjaxUpdatedControl>
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManagerProxy>
<asp:Label ID="lblTemp" runat="server" Text="nothing"></asp:Label>
<asp:Panel ID="pnlTemp" runat="server">
<asp:Button ID="btnTemp" runat="server" Text="Button" />
<asp:Button ID="btnTemp2" runat="server" Text="Button2" />
</asp:Panel>
If I specify the whole panel as the Ajax control, this doesn't work (i.e., clicking a button causes the whole page to be refreshed), whereas if I nominate one of the buttons directly, it does work. Does this indicate anything? Ultimately, I want to have a LH nav consisting of a RadPanelBar, with the "leaf" items (i.e., those with no children) triggering partial-page post-backs that refresh the centre pane but leave the top and LH navs unchanged (so no flicker).
All advice gratefully received,
Ed Graham