Gets the virtual directory of the System.Web.UI.Page or System.Web.UI.UserControl that contains the current server control.
Documentation for this section has not yet been entered.
The Control.TemplateSourceDirectory property specifies the path to the page or user control that contains the current control. For example, if the Web page resides at http://www.contoso.com/application/subdirectory, the Control.TemplateSourceDirectory property returns "application/subdirectory".
To return the application-relative virtual path ("~/subdirectory"), use the Control.AppRelativeTemplateSourceDirectory property.