Click here to Skip to main content
15,913,264 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

How to call update progress on menu item click in asp.net.

Below mentioned progress code in what i have tried.

This is working only on button clicks, not working when page loading for the first time.

What I have tried:

<asp:UpdateProgress runat="server" ID="MyProgress" AssociatedUpdatePanelID="UpdatePanel1"
DisplayAfter="0">
<progresstemplate>


<asp:Label ID="lblLoading" CssClass="ProcessText" runat="server" Text="Please Wait...">
<asp:Image ID="imgLoading" runat="server" ImageUrl="../../images/ProgressImage.gif" />


Posted
Comments
Did you try initializing inside load?
Baroor 6-May-16 1:06am    
how to initialize in load ???
Sinisa Hajnal 6-May-16 2:28am    
Google it. There is javascript (DOM) event window.onload in which you can do stuff on the client side. Or you can program it server side in Page_Load event.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900