Link to home
Start Free TrialLog in
Avatar of jazzIIIlove
jazzIIIloveFlag for Sweden

asked on

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.
Avatar of COBOLdinosaur
COBOLdinosaur
Flag of Canada image

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&
Avatar of jazzIIIlove

ASKER

Hi;

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

Omit network transition.

Regards.
ASKER CERTIFIED SOLUTION
Avatar of COBOLdinosaur
COBOLdinosaur
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial