473,769 Members | 4,985 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1539

"Cenk Genisol" <ce***@foni.net > wrote in message
news:OO******** ******@TK2MSFTN GP03.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:D XImageTransform .Microsoft.Alph a( Opacity=100,
FinishOpacity=2 0, 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******** ******@TK2MSFTN GP03.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.ge ZwaYrrenZ.com> schrieb im Newsbeitrag
news:N3******** **********@bign ews3.bellsouth. net...

"Cenk Genisol" <ce***@foni.net > wrote in message
news:OO******** ******@TK2MSFTN GP03.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:D XImageTransform .Microsoft.Alph a( Opacity=100,
FinishOpacity=2 0, 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*********@RE MOVETHISTEXTmet romilwaukee.com > schrieb im
Newsbeitrag news:eY******** *****@TK2MSFTNG P04.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******** ******@TK2MSFTN GP03.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
5105
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 to the structure and syntax of the code but I thought the purpose of re-engineering the damn thing would result in improved performance all around, well the .NET seems to really suck doing things graphically on forms that VB6 Seemed to do fine....
1
3386
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 six slideshows (rather than try to articulate, have a look here): http://www.slack.net/~stacey/stestbed/homejs.jsp Clicking any of the six blocks of text along the sides will begin a loop of the corresponding slideshow.
5
20292
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 drawing on to a bmp file on my harddisk? C# code in this regard would be very helpful. I tried all forums but invain.
2
1194
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, maybe even for that little site linked to above. Either way, I would like to find out more about my options. I know that Whidby has this great new MasterPage solution....but that doesn't help me right now. What are most of you using? Are...
12
2212
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 server. It "serves" back the required control (either WebControl or UserControl) based on the contents of an xml file. The code in the webform places each control in a TableCell. My problem is that the control server works as far as returning the...
2
1027
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 exact problems happen on my personal project at home. Myself and the team I have been on are pretty experienced with master pages and themes however now it is time for us to get a deeper understanding then we have been able to find in books...
4
3549
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, decrypts it, and sets up a Session variable holding the name of the MasterPage to use. The contents pages interrogate this Session variable in the Page_PreInit method (has to be done here) and apply the correct MasterPage accordingly. Works...
3
4029
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 selects? thanks...
2
2437
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 report with an image control do display/print 4 pictures on a page. When the report opens (in preview mode) the "loading image" dialog flashes 4 times (once for each picture) which isn't a huge deal, but is annoying. There have been several...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10211
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10045
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8870
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7408
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6673
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5298
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3958
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.