System.Web.UI.Design.WebFormsReferenceManager.GetUserControlPath Method

Gets the relative URL path for the user control with the specified tag prefix and tag name.

Syntax

public abstract string GetUserControlPath (string tagPrefix, string tagName)

Parameters

tagPrefix
The tag prefix of the user control to retrieve.
tagName
The tag name of the user control to retrieve.

Returns

A string representing the relative URL path for the specified user control, if found; otherwise, null.

Remarks

WebFormsReferenceManager.GetUserControlPath(string, string) uses the tag prefix and name to locate the user control register directive in the current document, and returns the src attribute value defined in the register directive.

Requirements

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