ThinDetailRendererTryLoadLayoutControl Method |
Try to load the specified LayoutControl.
Namespace:
NetQuarry.Data.WebMappers
Assembly:
EAP.WebMappers (in EAP.WebMappers.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static bool TryLoadLayoutControl(
IAppContext cxt,
UserControl host,
string componentID,
out UserControl ctrl,
out ComponentInfo ci,
out string errorMessage
)
Public Shared Function TryLoadLayoutControl (
cxt As IAppContext,
host As UserControl,
componentID As String,
<OutAttribute> ByRef ctrl As UserControl,
<OutAttribute> ByRef ci As ComponentInfo,
<OutAttribute> ByRef errorMessage As String
) As Boolean
Parameters
- cxt
- Type: NetQuarryIAppContext
The application context. - host
- Type: System.Web.UIUserControl
The control that will host the LayoutControl. - componentID
- Type: SystemString
The component to load. - ctrl
- Type: System.Web.UIUserControl
The loaded control, if successful. - ci
- Type: NetQuarryComponentInfo
The ComponentInfo for the loaded control, if successful. - errorMessage
- Type: SystemString
The error message, if unsuccessful.
Return Value
Type:
BooleanTrue if loaded successfully, else false.
See Also