PageTemplateInstanceAddWidget Method |
Adds the widget instance to the specified zone.
Namespace: CMS.PortalEngineAssembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 13.0.131
Syntax public WebPartInstance AddWidget(
string zoneId,
int widgetId
)
Parameters
- zoneId
- Type: SystemString
Zone ID - widgetId
- Type: SystemInt32
Web part ID
Return Value
Type:
WebPartInstanceSee Also