I have to do a process after the user press the button, i just need to show a mesage like "please wait a moment..." i know that i can use AJAX for that but i don't remember how. I did a test using update panels but it didn't worked. Please give me some sample
to do it?
But i meant was i need to do a process to download a file from my page, that code could work at the same time? because i did a test only showing a message and it worked, but i added my server code and didn't work any more.
vcapeluto
Member
28 Points
18 Posts
Refresh label showing a message like "wait for a moment please..."
Feb 15, 2012 06:43 PM|LINK
Hi all,
I have to do a process after the user press the button, i just need to show a mesage like "please wait a moment..." i know that i can use AJAX for that but i don't remember how. I did a test using update panels but it didn't worked. Please give me some sample to do it?
Regards
b471code3
Star
13877 Points
2598 Posts
Re: Refresh label showing a message like "wait for a moment please..."
Feb 15, 2012 06:51 PM|LINK
Check out the UpdateProgress control: http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-the-aspnet-ajax-updateprogress-control
http://ajax.net-tutorials.com/controls/updateprogress-control/
vcapeluto
Member
28 Points
18 Posts
Re: Refresh label showing a message like "wait for a moment please..."
Feb 15, 2012 08:17 PM|LINK
That code could work if i need to download some files from my web site?
b471code3
Star
13877 Points
2598 Posts
Re: Refresh label showing a message like "wait for a moment please..."
Feb 15, 2012 08:28 PM|LINK
Yup, download the Ajax Control Toolkit from Codeplex. Or if you have VS2008 or VS2010, it is already included.
vcapeluto
Member
28 Points
18 Posts
Re: Refresh label showing a message like "wait for a moment please..."
Feb 15, 2012 10:46 PM|LINK
Thanks b471,
But i meant was i need to do a process to download a file from my page, that code could work at the same time? because i did a test only showing a message and it worked, but i added my server code and didn't work any more.
chetan.sarod...
All-Star
65839 Points
11163 Posts
Re: Refresh label showing a message like "wait for a moment please..."
Feb 16, 2012 02:10 AM|LINK
http://forums.asp.net/t/991307.aspx
http://forums.asp.net/t/980465.aspx
http://forums.asp.net/t/1267984.aspx
http://mattberseth.com/blog/2007/07/modalpopup_as_an_ajax_progress.html
More examples
http://blog.devarchive.net/2008/01/displaying-progress-bar-for-long.html
http://mattberseth.com/blog/2007/06/aspnet_ajax_rendering_a_gmaill.html
http://www.dotnetkicks.com/ajax/Rendering_a_Gmail_Loading_Indicator_over_a_Specific_ASP_NET_Control
http://dotnettogo.com/blogs/emad/archive/2007/08/04/ASP.NET-AJAX_3A00_-Rendering-a-Gmail_2D00_like-_2700_Loading_2700_-Indicator.aspx
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
Song-Tian - ...
All-Star
43705 Points
4304 Posts
Microsoft
Re: Refresh label showing a message like "wait for a moment please..."
Feb 17, 2012 06:05 AM|LINK
Hi,
Please refer to the example at: http://forums.asp.net/p/1689930/4463921.aspx/1?Re+How+to+show+spinner+image+while+retrieving+data.
Feedback to us
Develop and promote your apps in Windows Store