Asp.NET 2 has a new class System.Web.VirtualPathUtility which allows you to resolve relative url's without the need of working within a UserControl or Page.
This is especially useful if you need to resolve relative url's from within a data layer or object interface.