PortalHelperGetWebPartASPXCode Method |
Gets the ASPX code for the web part.
Namespace: CMS.PortalControlsAssembly: CMS.PortalControls (in CMS.PortalControls.dll) Version: 8.2.23
Syntax public static string GetWebPartASPXCode(
WebPartInstance webPart,
out string registerCode
)
Parameters
- webPart
- Type: CMS.PortalEngineWebPartInstance
Web part instance - registerCode
- Type: SystemString
Returning additional code that must be registered so the web part could run properly
Return Value
Type:
StringSee Also