Update Callback Panel specified by id.
For example, you can use the next lines:
Client-side update
ob_post.UpdatePanel("callbackPanel1");
Server-side update
UpdatePanel("callbackPanel1");
Example 1 - Callback Panel contain html, css and ASP DataList control.
<oajax:CallbackPanel runat="server" ID="callbackPanel1"> <content style="border: gray 1px solid;"> <style> .divItem { border-bottom:1px solid gray; font-size:9px; width:130px; padding-top:4px; padding-bottom:4px; } </style> <b>My List</b> <asp:DataList id="dataList1" runat="server"> <ItemTemplate> <div class="divItem"> some item content </div> </ItemTemplate> </asp:DataList> <content> <loading style="border: gray 1px solid;"> Loading...please wait </loading> </oajax:CallbackPanel>
See also live UpdatePanel Example.
Example 2 - Callback Panel contain ASP Literal control.
<oajax:CallbackPanel runat="server" ID="callbackPanel1"> <content style="border: gray 1px solid;"> <asp:Literal id="serverTime" Runat="server"></asp:Literal> </content> <loading style="border: gray 1px solid;"> Loading...please wait </loading> </oajax:CallbackPanel>
See also live UpdatePanel Example.
For more information about CallbackPanel see How It Works page.
|