if we use a div inside the updateprogress we can then hide and show it as necessary.
see the code:
function EndRequest(sender, args) {
for (i = 0; i < sender._updatePanelIDs.length; i++) {
if (sender._updatePanelIDs[i] == '<%= UpdatePanel1.UniqueID %>') {
document.getElementById('<%= UpdateProgress1.ClientID %>').firstChild.style.display = 'block';
}
}
}
function BeginRequest(sender, args) {
for (i = 0; i < sender._updatePanelIDs.length; i++) {
if (sender._updatePanelIDs[i] == '<%= UpdatePanel1.UniqueID %>') {
document.getElementById('<%= UpdateProgress1.ClientID %>').firstChild.style.display = 'none';
}
}
}
There is nothing like human will.