473,387 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Display animation during page-load

Hi

ASP.Net v2.0

I have a page and, depending on circumstances, it can sometimes take between
10-30 seconds to load, this is due to a dependency on a 3rd party
web-service that is very slow..

Is there anyway of informing the user that the server hasn't died and that
the page is busy fetching results?

Thanks
Kev
Jun 19 '07 #1
4 3091
"Mantorok" <no**@none.comwrote in message
news:f5**********@newsfeed.th.ifl.net...
Hi

ASP.Net v2.0

I have a page and, depending on circumstances, it can sometimes take
between 10-30 seconds to load, this is due to a dependency on a 3rd party
web-service that is very slow..

Is there anyway of informing the user that the server hasn't died and that
the page is busy fetching results?

Thanks
Kev

1) You put your code to fetch your data in another page (ie data.aspx)
2) You bring up your loading page that in turn call your data.aspx with AJAX

I know the place I work at are doing things like that...

(Sorry for my english btw!)

Mike

Jun 19 '07 #2
Using ASP.NET AJAX and an UpdatePanel, you can set the UpdateIndicator
to an animated GIF.

On Jun 19, 9:13 am, "Mike Gleason jr Couturier"
<mcouturierMAP...@bmgmultimedia.comwrote:
"Mantorok" <n...@none.comwrote in message

news:f5**********@newsfeed.th.ifl.net...
Hi
ASP.Net v2.0
I have a page and, depending on circumstances, it can sometimes take
between 10-30 seconds to load, this is due to a dependency on a 3rd party
web-service that is very slow..
Is there anyway of informing the user that the server hasn't died and that
the page is busy fetching results?
Thanks
Kev

1) You put your code to fetch your data in another page (ie data.aspx)
2) You bring up your loading page that in turn call your data.aspx with AJAX

I know the place I work at are doing things like that...

(Sorry for my english btw!)

Mike

Jun 19 '07 #3
Hi Kev,

I agree with others that you can consider return your long-run page
immediately(let the service executing at server-side) and at client-side,
you can display some message indicate that the server task is running and
use some client-side script to postback and poll the server-side service
execution status. For the script , you can either use ASP.NET 2.0's script
callback feature or use the new AJAX framework(you need to install the ajax
runtime components).

#Implementing Client Callbacks Without Postbacks in ASP.NET Web Pages
http://msdn2.microsoft.com/en-us/library/ms178208.aspx

http://msdn2.microsoft.com/en-us/library/ms178210.aspx
#ASP.NET AJAX
http://ajax.asp.net/

In addition, you can also found some former threads dicussing on this
topics in the newsgroup:

http://groups.google.com/group/micro...rk.aspnet/brow
se_thread/thread/719a56977f0fea5/bcf7bd5271c85ddb

http://groups.google.com/group/micro...rk.aspnet.buil
dingcontrols/browse_thread/thread/20beec83bdb3de20/cb633eaf816a4a2b

Hope this helps.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.



Jun 20 '07 #4
Thanks Steven, very helpful as usual.

Thanks for the other responses guys.

Kev

"Steven Cheng[MSFT]" <st*****@online.microsoft.comwrote in message
news:fg**************@TK2MSFTNGHUB02.phx.gbl...
Hi Kev,

I agree with others that you can consider return your long-run page
immediately(let the service executing at server-side) and at client-side,
you can display some message indicate that the server task is running and
use some client-side script to postback and poll the server-side service
execution status. For the script , you can either use ASP.NET 2.0's
script
callback feature or use the new AJAX framework(you need to install the
ajax
runtime components).

#Implementing Client Callbacks Without Postbacks in ASP.NET Web Pages
http://msdn2.microsoft.com/en-us/library/ms178208.aspx

http://msdn2.microsoft.com/en-us/library/ms178210.aspx
#ASP.NET AJAX
http://ajax.asp.net/

In addition, you can also found some former threads dicussing on this
topics in the newsgroup:

http://groups.google.com/group/micro...rk.aspnet/brow
se_thread/thread/719a56977f0fea5/bcf7bd5271c85ddb

http://groups.google.com/group/micro...rk.aspnet.buil
dingcontrols/browse_thread/thread/20beec83bdb3de20/cb633eaf816a4a2b

Hope this helps.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.

==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.



Jun 20 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Rohit Dhawan | last post by:
I have a Oracle report which displays a front page every time when a certain query is run. Now, is there a way to display the front page only and only when a ceratin parameter say :param='all' is...
1
by: Chris Richards | last post by:
I am working with the Windows Media Encoder SDK, and at one point in the code, I have a need to display the Property Page of a Device plugin. The only code I have for doing this is written in C++...
4
by: William LaMartin | last post by:
Is there a way to place an aspx page on a panel contained on another aspx page? I can display an HTML page on the panel using a literal can figure no way to put and aspx page there.
5
by: jensen bredal | last post by:
Hello, I attended a seminar with scott gu. Microsoft asp.net lead guru, and he mentioned some advanced javascript that let you display an animation while your page is waiting for response from...
5
by: Homa | last post by:
Hi all, Can anyone give me some links about how to do an async web service call from aspx and display a temperary page before the web service returns? Thanks, Homa Wong
1
by: mdos | last post by:
Hi All: I'm pushing real-time updates to a browser via 'comet using inline JS in an iframe. I'd like to get rid of the 'busy' animation during these sessions. Short of re-coding everything to...
3
by: Birky | last post by:
When creating a Report is there a way to display a Web page within an object? I have a scenario where I am being asked to display a report for information that is controlled and published via...
0
by: hnpatel | last post by:
Hi.... How to set perticular number of records to display on one page of datareport in vb6.0? I want to display 10 records on one page of datareport. Yes i want to display 5 or 10 records per...
3
kaleeswaran
by: kaleeswaran | last post by:
Hi, Is it possible to display the success page as a popup window.. I want to display the success page as a popup window.
4
by: Simon | last post by:
If I am running a long time query, how to show a wait page at then? Is there any recommended way to do it? Thanks.
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.