WebFormsReferenceManager::GetUserControlPath Method (String^, String^)
.NET Framework (current version)
Gets the relative URL path for the user control with the specified tag prefix and tag name.
Assembly: System.Design (in System.Design.dll)
Parameters
- tagPrefix
-
Type:
System::String^
The tag prefix of the user control to retrieve.
- tagName
-
Type:
System::String^
The tag name of the user control to retrieve.
Return Value
Type: System::String^A string representing the relative URL path for the specified user control, if found; otherwise, null.
GetUserControlPath 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.
.NET Framework
Available since 2.0
Available since 2.0
Show: