MetaChildrenColumn.GetChildrenPath Method (String, Object, String)
Gets the path for the specified action page of the child table.
Assembly: System.Web.DynamicData (in System.Web.DynamicData.dll)
abstract GetChildrenPath : action:string * row:Object * path:string -> string override GetChildrenPath : action:string * row:Object * path:string -> string
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.
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.
Available since 3.5