MasterPages: How to improve the loading process of Contents (Graphics)

  • Thread starter Thread starter Cenk Genisol
  • Start date Start date
C

Cenk Genisol

Hi NG,

I am relatively new to Web developement and have some questions to you.

I've got a Masterpage where some graphics are embedded by CSS. They format
the borders of tables, which store page content so it's just an optical
background.

During the process of loading the page on the client, pages which implement
the above mentioned masterpage are build very excursive. That looks
unprofessional. I've set up a test page on my webserver where you can
hopefully follow my descriptions.

http://www.genisol.de/test/

My question is, which possibilities do I have to improve this loading
process? For example is it possible to draw the page on the client AFTER
preloading all contents like graphics?
Which techniques are available to grant this?

My best regards,
Cenk Genisol
 
Cenk Genisol said:
Hi NG,

I am relatively new to Web developement and have some questions to you.

I've got a Masterpage where some graphics are embedded by CSS. They format
the borders of tables, which store page content so it's just an optical
background.

During the process of loading the page on the client, pages which
implement the above mentioned masterpage are build very excursive. That
looks unprofessional. I've set up a test page on my webserver where you
can hopefully follow my descriptions.

http://www.genisol.de/test/

My question is, which possibilities do I have to improve this loading
process? For example is it possible to draw the page on the client AFTER
preloading all contents like graphics?
Which techniques are available to grant this?

My best regards,
Cenk Genisol
One thought.. you might look into direct x. this one only works in ie but
maybe there are other functions you could look into.

background-color:#E6DEDE;
filter:progid:DXImageTransform.Microsoft.Alpha( Opacity=100,
FinishOpacity=20, Style=2, StartX=0, FinishX=100, StartY=0, FinishY=100);
 
By default, ASP.NET ensures the contents to be displayed in the page are put
into a buffer before the page is displayed in the client (browser). To
control the output of images in the buffer requires client-side script using
JavaScript (the defacto standard client-side scripting language). Search
the web to learn about "preloading" images with JavaScript.

Note this is the best argument for learning and using C# instead of VB.
Java, C# and JavaScript are all syntax identical and nearly identical in
their grammar. Basically you will learn three languages for the price of
one.

<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/
 
Hi Clinton,

thanks for your hint. I will take a look at preloading images with Java
Script.

My best regards,
Cenk
 
Hi Mike,

thanks for your hint. I am going to preload them via JavaScript

My best regards,
Cenk
 
Hi NG,

for those who had the same question. I've used Clinton's solution combined
with a time delay, realized via JavaScript too.

My best regards,

Cenk
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top