Edit

Share via


MetaChildrenColumn.GetChildrenPath Method

Definition

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

Overloads

GetChildrenPath(String, Object)

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

GetChildrenPath(String, Object, String)

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

GetChildrenPath(String, Object)

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

public:
 System::String ^ GetChildrenPath(System::String ^ action, System::Object ^ row);
public:
 virtual System::String ^ GetChildrenPath(System::String ^ action, System::Object ^ row);
public string GetChildrenPath (string action, object row);
member this.GetChildrenPath : string * obj -> string
abstract member GetChildrenPath : string * obj -> string
override this.GetChildrenPath : string * obj -> string
Public Function GetChildrenPath (action As String, row As Object) As String

Parameters

action
String

The target action.

row
Object

The row that contains the foreign-key field.

Returns

The path of the specified action page of the child table.

Remarks

The GetChildrenPath(String, Object) method returns the path of the specified action page for the child table. The path returned is based on the routes that are defined for the ASP.NET Dynamic Data application and has 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 null, this method returns an empty string.

You can use the values defined in the PageAction class for the action parameter.

See also

Applies to

GetChildrenPath(String, Object, String)

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

public:
 System::String ^ GetChildrenPath(System::String ^ action, System::Object ^ row, System::String ^ path);
public:
 virtual System::String ^ GetChildrenPath(System::String ^ action, System::Object ^ row, System::String ^ path);
public string GetChildrenPath (string action, object row, string path);
member this.GetChildrenPath : string * obj * string -> string
abstract member GetChildrenPath : string * obj * string -> string
override this.GetChildrenPath : string * obj * string -> string
Public Function GetChildrenPath (action As String, row As Object, path As String) As String

Parameters

action
String

The target action.

row
Object

The row that contains the foreign-key field.

path
String

The target page.

Returns

The path of the specified action page of the child table.

Remarks

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 null, this method returns an empty string. If path is null, 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.

See also

Applies to