This documentation is archived and is not being maintained.

FieldTemplateUserControl.BuildForeignKeyPath Method

Get the URL that links the current page to the page that displays the details of the foreign key entity and allows the path to be overridden.

Namespace:  System.Web.DynamicData
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

protected string BuildForeignKeyPath(
	string path
)

Parameters

path
Type: System.String

The path to override.

Return Value

Type: System.String
The URL that links to the page that displays the details of the foreign key page.

This method is similar to ForeignKeyPath except that it allows the path of the URL to be overridden. This property is used if the page is not located in the DynamicData/CustomPages folder your the Dynamic Data project.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5 SP1
Show: