Click here to Skip to main content
15,883,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi i have tried to use the Ajax Update Progress for the Button event which is in postback trigger, since the update progress is not working what shall i do to make it working.

I have also tried using the Java Script but while Using that on double Click only the Update Progress working.

<triggers> <asp:PostBackTrigger ControlID="btnSend" />
/Triggers>


<asp:Button ID="btnSend" runat="server" CssClass="hrmbuttom" Text="Send" OnClick="btnSend_Click" ClientIDMode="Static" OnClientClick="return postbackButtonClick();" ValidationGroup="Save" />

and the Java Script Used for this is

<script type="text/javascript">
var updateProgress = null;

function postbackButtonClick() {
updateProgress = $find("<%= UpdateProgress1.ClientID %>");
window.setTimeout("updateProgress.set_visible(true)", updateProgress.get_displayAfter());
return true;
}
</script>

Any Sollutions....
Posted

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