473,375 Members | 1,331 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,375 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 1518

"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...
1
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...

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.