This documentation is archived and is not being maintained.

MetaForeignKeyColumn.GetForeignKeyDetailsPath Method

Gets the path for the details action page of the parent table of the specified foreign-key field.

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

public string GetForeignKeyDetailsPath(
	Object row
)

Parameters

row
Type: System.Object
The row that contains the foreign-key field.

Return Value

Type: System.String
The path for the details action page of the parent table of the specified foreign-key field.

The GetForeignKeyDetailsPath method returns the path for the details action page based on the routes defined for the ASP.NET Dynamic Data application. This method returns an empty string, if row is null.

Using the GetForeignKeyDetailsPath method is the same as invoking the GetForeignKeyPath(String, Object) method passing the Details action as the first parameter.

.NET Framework

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: