MetaForeignKeyColumn.GetForeignKeyDetailsPath Method (Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: