Click or drag to resize
PortalHelperGetWebPartASPXCode Method
Gets the ASPX code for the web part.

Namespace: CMS.PortalControls
Assembly: CMS.PortalControls (in CMS.PortalControls.dll) Version: 8.2.23
Syntax
C#
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: String
See Also