Refresh asp.net panel

I am using UpdatePaenl on asp.net page. It has a button to bring it up. I can show "Loading" when the button is clicked. Here's my problem, I need it to show "Loading" the first time the page is called, not just when the button is clicked.

Any ideas are appreciated. Thanks to

0


a source to share


2 answers


Here is some sample code I created for the photo gallery widget:



<div>
    <asp:UpdateProgress ID="UpdateProgress1" AssociatedUpdatePanelID="updatePanel1" runat="server">
        <ProgressTemplate> 
            <img src="images/busybar.gif" alt="Loading..." style="margin-right:auto; margin-left:auto; position:fixed; top:60%; left:50%;" />
        </ProgressTemplate>
    </asp:UpdateProgress>
    <asp:UpdatePanel ID="updatePanel1" runat="server">
    <ContentTemplate>
        <uc1:PhotoAlbumThumbnails ID="PhotoAlbumThumbnails1" runat="server" ItemsPerPage="30" />
    </ContentTemplate>
</asp:UpdatePanel>
</div>

      

+2


a source


Have you checked the UpdateProgress control? http://www.asp.net/Ajax/Documentation/Live/overview/UpdateProgressOverview.aspx



0


a source







All Articles