This documentation is archived and is not being maintained.

MetaChildrenColumn::GetChildrenPath Method (String, Object, String)

Gets the path for the specified action page of the child table.

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

public:
virtual String^ GetChildrenPath(
	String^ action, 
	Object^ row, 
	String^ path
) sealed

Parameters

action
Type: System::String
The target action.
row
Type: System::Object
The row that contains the foreign-key field.
path
Type: System::String
The target page.

Return Value

Type: System::String
The path of the specified action page of the child table.

The GetChildrenPath(String, Object, String) method returns the path of the specified action page for the child table. The path is based on the specified path with the specified row as a parent. The path is obtained by appending a query-string value to the URL that contains the foreign-key field value specified in the row parameter.

If row is nullptr, this method returns an empty string. If path is nullptr, the GetChildrenPath(String, Object, String) method returns the path based on the routes defined for the ASP.NET Dynamic Data application.

You can use the values defined in the PageAction class for the action 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: