Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 03, 2012 06:17 AM by mishra.bhupesh
May 03, 2012 05:53 AM|LINK
i have the following updateprogress
<asp:UpdateProgress id="updateProgress" runat="server">
<div style="position: fixed; text-align: center; height: 100%; width: 100%; top: 0; right: 0; left: 0; z-index: 9999999; background-color: #000000; opacity: 0.7;">
<span style="border-width: 0px; position: fixed; padding: 50px; background-color: #FFFFFF; font-size: 36px; left: 40%; top: 40%;">Please Wait...</span>
i want to set its visibility to true when someone clicks on button but from code behind and then set to false when loading data from server is complete?
May 03, 2012 06:17 AM|LINK
I think it is not neede to set it's visibility. When a request is sent by it's associated update panel it automatically appears until response is complete to that request. As response ended it automatically hides. But you can chage the update progess's appearece
time by it's property DisplayAfter. it is in miliseconds and detemines the time of appearing of update progress after a request is sent.