473,395 Members | 2,423 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,395 software developers and data experts.

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

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
Jun 18 '06 #1
5 1519

"Cenk Genisol" <ce***@foni.net> wrote in message
news:OO**************@TK2MSFTNGP03.phx.gbl...
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);

Jun 18 '06 #2
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/

"Cenk Genisol" <ce***@foni.net> wrote in message
news:OO**************@TK2MSFTNGP03.phx.gbl...
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

Jun 18 '06 #3
Hi Mike,

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

My best regards,
Cenk

"vMike" <Mi****************@noYandZ.geZwaYrrenZ.com> schrieb im Newsbeitrag
news:N3******************@bignews3.bellsouth.net.. .

"Cenk Genisol" <ce***@foni.net> wrote in message
news:OO**************@TK2MSFTNGP03.phx.gbl...
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);

Jun 18 '06 #4
Hi Clinton,

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

My best regards,
Cenk

"clintonG" <cs*********@REMOVETHISTEXTmetromilwaukee.com> schrieb im
Newsbeitrag news:eY*************@TK2MSFTNGP04.phx.gbl...
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/

"Cenk Genisol" <ce***@foni.net> wrote in message
news:OO**************@TK2MSFTNGP03.phx.gbl...
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


Jun 18 '06 #5
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
Jun 19 '06 #6

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

Similar topics

4
by: Matthew | last post by:
I am not the most talented programmer to grace the earth by a long shot. But I've got a gripe I need to air about the .NET implementaion of Visual Basic. I can live with alot of the major changes...
1
by: Stacey | last post by:
Hi, I'm hoping for a bit of advise-- I have a (relatively, from the point-of-view of this dilettante) complex script that attempts to preload certain images in order to trigger one of a series of...
5
by: Vin | last post by:
Hi, I am using the following code to draw whatever the user draws using x,y. // draws lines directly on a winform. CreateGraphics().DrawLine(APen, x, y, OldX, OldY); Now how do I save the...
2
by: neverstill | last post by:
So a new project has inspired me to look into page Templating once again. My current approach of dynamically loading user controls (http://www.ntsdirect.com) seems "hacky" for a larger scale site,...
12
by: Joe | last post by:
Hello All: Do I have to use the LoadControl method of the Page to load a UserControl? I have a class which contains three methods (one public and two private). The class acts as a control...
2
by: Sean | last post by:
We have a Master page problem that comes around time and time at work and it’s a problem that has been confirmed by other developers on the project I have been on. Additionally I have had the...
4
by: Mark Rae | last post by:
Hi, I have a site which uses dynamic MasterPages. The selection of the MasterPage to use is determined by an encrypted QueryString. Session_Start looks for the presence of the QueryString,...
3
by: forest demon | last post by:
for example, let's say I do something like, System.Diagnostics.Process.Start("notepad.exe","sample.txt"); if the user does a SaveAs (in notepad), how can i capture the path that the user...
2
by: brianflannery | last post by:
Greetings! My situation is this. I currently have a database of which in a form displays jpeg pictures (one at a time) which are linked to the db and stored in a separate folder. I have set up a...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.