Adjustment to Page Load Time Control

by Chris 4/1/2008 11:09:49 AM

I previously posted the Page Load Time Control to display the page load time which will let you see exactly how long your pages are taking to load.  I originally planned on having this display on my blog but then realized that not everyone want's/needs to see this kind of information.  So I made a little change to the control running on my page to have the information hidden.  The result is that I can see the page load time but only when I click "View Source"...

image

This allows me to still benefit from the information but not burden my readers with unnecessary information.  Here's how you can customize the Page Load Control to get the same results.  Simply modify the lblPageLoadTime.Text value to include the comment marks as illustrated below:

image

That should do it.  Save the control and refresh your page.  You will see the information when you click on "View Source".

Add comment


(Will show your Gravatar icon)  

biuquote
  • Comment
  • Preview
Loading




Powered by BlogEngine.NET Theme by Mads Kristensen Hosted by 1and1 Hosting Sign in
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way. © 2008 Chris Blankenship

DSCODUC on Technorati  

Stop Spam Harvesters, Join Project Honey Pot   This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License  

Welcome to my blog

Welcome to my site

Villainy wears many masks,
none of which so dangerous as virtue…



LinkedIn   GeoURL

Recent Comments

Comment RSS

Wordle Gallery

Shelfari Book Library