PortalHelperGetWebPartASPXCode Method |
Gets the ASPX code for the web part.
Namespace: CMS.PortalEngine.Web.UIAssembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 12.0.0
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