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: 9.0.0
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