 <p>ResolveUrl("~/Resources/R1.png")</p> <p>Where '~' is used to represent the root of the application in which the current page/control sits.</p> <p>Or if the resource is external to the current application but is still found within the virtual directory hierarchy, you can use ResolveUrl("/Resources/R1.png")</p>