Loading Animation (Please Wait) on Wizard Finish Button (asp.net + ajax + Javascript)

Posted by Sunil446 under ASP.NET AJAX on 10/13/2011 | Points: 10 | Views : 4336 | Status : [Member] | Replies : 2
I have a requirement to show Loading Image (Please Wait...) when user clicks on Finish Button in the Wizard (<asp:wizard>...</asp:wizard>) control in my asp.net page.

I Have a wizard like this

<asp:Wizard ID="w1" runat="server">

<WizardSteps>
<asp:WizardStep runat="server">
-----
-----
-----

</asp:WizardStep>
<asp:WizardStep runat="server">
-----
-----
-----
</asp:WizardStep>
</WizardSteps>
</asp:Wizard>
When i Click on Finish button in the last step of wizard Loading Image has to display so that user can wait for a while till it completes and
popup has to be displayed saying "Process Completed".

Please Help Me..

Thanks In Advance




Responses

Posted by: SheoNarayan on: 10/13/2011 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
Hi Sunil,

Keep asp:UpdateProgress control on the page (http://www.dotnetfunda.com/tutorials/ajax/updateprogress.aspx ) and disable it until you are on Last step. When you are in Last step and user clicks the Finish button, the content of asp:UpdateProgress will automatically display.

Hope this helps solving your problem.

Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Sunil446, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sunil446 on: 10/13/2011 [Member] Starter | Points: 25

Up
0
Down
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E; InfoPath.2)
Timestamp: Thu, 13 Oct 2011 10:05:00 UTC


Message: Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out.
Line: 938
Char: 13
Code: 0
URI:

This is the error i'm facing with updateprogress

Sunil446, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response