473,320 Members | 1,948 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,320 software developers and data experts.

Handling Slow Loading User Controls

I want to be able to have a page that has several controls on on it, but I
want the page to load first of all and display a loading image on each
control and then I want to then display teh controls as the data has bound
to each control as some of the data I need to load is very big and takes
some time.

I have found some code that creates a Javascript that handles this, but it
only works at page level.

I have looked at the ATLAS progress update and this only handles things at
page level. Does anyone have any ideas or resources that they could point
me to, to help me resolve thsi problem, thanks in advance.

Alixx
Jun 21 '06 #1
1 3384
you have to accept the http model.

1) the browser requests a page
2) the server builds the page and sends it back
3) the browser renders the page.

the server can not send more info after the request is done. the browser can
not render until it has enough of the html to render (if complex it may wait
until its received the enttire page). the server can not change any html its
already sent.

there 4 common ways to do what you want:

1) use progress page - start the control building with a brackground thread
on the server and have the client poll with javascript or meta refresh

2) use iframes - each control is hosted by an iframe, and thus an individual
request.

3) use ajax. - javascript makes request back to the server, and uses dynamic
html to update the page.

4) applet - write an applet in java, flash, or active/x. it can perform lazy
loads.

-- bruce (sqlwork.com)

"Alixx Skevington" <Sk*********@community.nospam> wrote in message
news:ua****************@TK2MSFTNGP04.phx.gbl...
I want to be able to have a page that has several controls on on it, but I
want the page to load first of all and display a loading image on each
control and then I want to then display teh controls as the data has bound
to each control as some of the data I need to load is very big and takes
some time.

I have found some code that creates a Javascript that handles this, but it
only works at page level.

I have looked at the ATLAS progress update and this only handles things at
page level. Does anyone have any ideas or resources that they could point
me to, to help me resolve thsi problem, thanks in advance.

Alixx

Jun 21 '06 #2

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

Similar topics

4
by: Adrian MacNair | last post by:
Hi, I created an image gallery which displays 63 images in a slideshow. The problem is that the show was slow because each image loaded one at a time during the show. No problem right? I just...
9
by: Lloyd Sheen | last post by:
In an attempt to reformat the web page I moved controls into a frame and then when that did no good I replaced then on the aspx in the same order as before. When I did the CTL-X the handlers lost...
1
by: Nick Stansbury | last post by:
Hi, Is there any way to cause a page to completely resubmit itself from the server side? I have an array of user controls that, in the event handler of the user control itself, add new user...
9
by: Sridhar | last post by:
Hi, I have created a web page which includes a place holder. I also have a dropdown list in that webpage. when I select one of the choices in that dropdown list, It will load a user control...
6
by: Jrsmith | last post by:
I am developing a mdi application that will act as a front end to a database. I am finding that when i show any of the mdi child forms in my application it is noticeable that the form is shown...
9
by: jeff | last post by:
Hi All. I realize that when my Deployed winforms application starts, Windows needs to load the .net 2 framework before control is given to my application.... Is there anyway to either ... -...
5
by: =?Utf-8?B?V2FubmFiZQ==?= | last post by:
We have a page that is loading very slow. There is not a lot of data, not a lot of users are connected at the same time and the page does not produce an error, so I am not sure where to start to...
2
by: adiel_g | last post by:
I added a user control to a webform in Asp.net 2.0. I am also adding several other user controls to this webform. Now I am trying to find a way to stop the user controls from loading up when I...
3
by: John | last post by:
Hi I have replaced an ms access app with its vb.net version at a client site. Now the clients keeps complaining about how slow the app response is. The complains they have are for example when...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.