AJAX Page - UpdateAllPanels

Update all existent callback panels on a page.

For example, you can use the next lines:

Client-side update

        ob_post.UpdateAllPanels(); 
		

Server-side update

        UpdateAllPanels(); 
		


        <!-- CallbackPanel1-->
        <oajax:CallbackPanel runat="server" ID="callbackPanel1">
            <content style="border: gray 1px solid;">
                <span style="color:red">
                    <asp:Literal id="serverMillisecond" Runat="server"></asp:Literal>
                </span>
            </content>
        </oajax:CallbackPanel>
    
        <!-- CallbackPanel2-->
        <oajax:CallbackPanel runat="server" ID="callbackpanel2">
            <content style="border: gray 1px solid;">
                <asp:Literal id="serverTime" Runat="server"></asp:Literal>
            </content>
        </oajax:CallbackPanel>
        

See also live UpdateAllPanels Example.

For more information about CallbackPanel see How It Works page.

"Thanks, all my problems are solved, great products... Thanks again!"

Tony Chen

Random testimonial   All testimonials