Feed on
Posts
Comments

Archive for August, 2005

This is the first in a continuing series of ‘Design Spotlights’ where I review a product I am using that displays excellent design.
Starting this series is the Nalgene N-Gen Bottle

I have 2 of these bottles, I keep one at work and the other one I have dubbed the traveler. The mouth size on this bottle [...]

Read Full Post »

.aspx path references

.code {
word-wrap:break-word;
margin:15px;
padding:10px;
border:2px ridge white;
background-color:#eeeeee;
font-family:Courier New;
font-size:10pt;
}

I can’t believe it took me this long to figure this out.
But anyway if you want to get a reference to the root of your server in .Net you need to use

“~\”

For example:

Dim header As HeaderControl =
 CType(LoadControl(“~\controls\Header.ascx”), HeaderControl)

Anyway hopefully this helps someone out who is wondering about relative paths when coding in .Net
-Josh

Read Full Post »