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?
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.
mrhammad
Member
2 Points
66 Posts
how to set visibility of UpdateProgress from code behind
May 03, 2012 05:53 AM|LINK
i have the following updateprogress
<asp:UpdateProgress id="updateProgress" runat="server">
<ProgressTemplate>
<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>
</div>
</ProgressTemplate>
</asp:UpdateProgress>
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?
mishra.bhupe...
Participant
1598 Points
378 Posts
Re: how to set visibility of UpdateProgress from code behind
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.