PortalHelper GetWebPartASPXCode Method Kentico 8.0 API Reference
Gets the ASPX code for the web part.

Namespace: CMS.PortalControls
Assembly: CMS.PortalControls (in CMS.PortalControls.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

webPart
Type: CMS.PortalEngine WebPartInstance
Web part instance
registerCode
Type: OnlineSystem String 
Returning additional code that must be registered so the web part could run properly

Return Value

Type: OnlineString
See Also