help.net


Musing on .Net

News

Windows Phone Apps I recommend

FotoBank


FotoIreland



hit counters






Open source CMS


My blog

Irish blogs

Locations of visitors to this page Get Chitika eMiniMalls

.Net useful

Blogs I read

PocketPC

SQL

Usability

Using the FileResolver to allow virtual application paths ( ~ ) in any file

Bobby DeRosa has solved one of the pesky thing I had with ~ in virtual paths, the fact that you can’t use it on a asp.net page or control.

Now great I can write a relative link to a background image in a CSS file without worrying about the level of the page calling the stylesheet.

something like background: #ccc url(~/i/myImage.gif.ashx) 20px 17px;

Notice the ashx extension to call the FileResolver module

 

Posted: Feb 02 2006, 12:29 PM by help.net | with 1 comment(s)
Filed under:

Comments

No Comments