NavHelperGetLinkParams Method |
Retrieve the link parameters for a
NavTarget appropriate for the current context
and construct a link.
The current context may include a current page's
PageInfo and/or the parent
mapper (for example, the mapper in the
main pane of a console).
Namespace:
NetQuarry
Assembly:
EAP.WebMappers (in EAP.WebMappers.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static string GetLinkParams(
PageInfo pi,
IMapper mapperParent,
NavTarget target,
out string rowKeyValue,
out string viewKeyName,
out bool missingPK
)
Public Shared Function GetLinkParams (
pi As PageInfo,
mapperParent As IMapper,
target As NavTarget,
<OutAttribute> ByRef rowKeyValue As String,
<OutAttribute> ByRef viewKeyName As String,
<OutAttribute> ByRef missingPK As Boolean
) As String
Parameters
- pi
- Type: NetQuarryPageInfo
The current page, may be null. - mapperParent
- Type: NetQuarry.DataIMapper
The parent mapper, may be null. - target
- Type: NetQuarryNavTarget
The navigation target of interest. - rowKeyValue
- Type: SystemString
The RowKey of the parent mapper, if a parent mapper is provided. - viewKeyName
- Type: SystemString
The ViewKey if one is specified on the target. - missingPK
- Type: SystemBoolean
True if a ViewKey/ParentViewKeySource relationship is defined, but no corresponding field or value was found in the parent.
Return Value
Type:
StringThe constructed link including the retrieved parameters.
See Also