![]()
The physical path to the file.
While similar to the Page.MapPath(string) method, this method maps the path from the .ascx file's location, not the .aspx file's location. You can use this method to obtain a path to a directory of images or other resources associated with your System.Web.UI.UserControl object.