PortalHelper GetWebPartASPXCode Method Kentico 8.1 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.1.5347.20411)

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