System.Web.UI.TemplateControl.AppRelativeVirtualPath Property

Gets or sets the application-relative, virtual directory path to the file from which the control is parsed and compiled.

Syntax

public string AppRelativeVirtualPath { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

When the file that defines a System.Web.UI.TemplateControl control resides in a directory other than that of the page processing the request, use the TemplateControl.AppRelativeVirtualPath property to return the application-relative, virtual path to the System.Web.UI.TemplateControl.

The Control.AppRelativeTemplateSourceDirectory property is set based on the virtual path that is set in the TemplateControl.AppRelativeVirtualPath property.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0