MetaChildrenColumn.GetChildrenPath Method (String, Object)
.NET Framework (current version)
Gets the path of the specified action page of the child table.
Assembly: System.Web.DynamicData (in System.Web.DynamicData.dll)
abstract GetChildrenPath : action:string * row:Object -> string override GetChildrenPath : action:string * row:Object -> string
Parameters
- action
-
Type:
System.String
The target action.
- row
-
Type:
System.Object
The row that contains the foreign-key field.
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, his method returns an empty string.
You can use the values defined in the PageAction class for the action parameter.
.NET Framework
Available since 3.5
Available since 3.5
Show: