MetaForeignKeyColumn.GetForeignKeyDetailsPath Method (Object)

 

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
Available since 3.5
Return to top
Show: