load and render order, asp.net, html, javascript.

Hi;

What is the load and render order for a project having asp.net, html and javascript.

I mean supposing javascript is handled in head.

regards.
LVL 12
jazzIIIloveAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

COBOLdinosaurCommented:
The loading order is not really predictable in any reliable way because the are multiple http requests to the server and some large items may be broken into packets.  The packets will not necessarily be transported along the same route, and a re-try my be necessary fro some packets that fail to arrive or get corrupted during transport.

As for rendering it depends on a combination of the order of deliver, dependencies, internal directives in the content, and which browser is being used.  Generally rendering does not take place until the Document Object has been built, but some partial rendering may be generated before the build is complete if the browser has enough information to complete a component.

Cd&
0
jazzIIIloveAuthor Commented:
Hi;

Can you think up a simple scenario? One aspx page, having html js and having code behind cs file.

Omit network transition.

Regards.
0
COBOLdinosaurCommented:
Can you think up a simple scenario

There is no simple scenario.  

http: protocols are not simple and the order and speed of transfer is variable.  That is how it works. Even if you have the server installed on the same computer as the browser there is no guarantee of the delivery sequence.

What difference does it make? If you are considering some kind of design where thing have to be delivered in a specific order, then it is a design that will never work.

Cd&
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.