Kentico 8.2 API Reference
Kentico 8.2 API Reference
Namespaces
CMS.PortalEngine
PageTemplateInstance Class
PageTemplateInstance Methods
AddWebPart Method
AddWidget Method
AddZone Method
Clone Method
CloneWebPart Method
CombineWith Method
ContainsZones Method
EnsureZone Method
GetNestedZones Method
GetUniqueWebPartId Method
GetWebPart Method
GetZone Method
GetZonesXML Method
LoadVariants Method
LoadZones Method
MoveAllWebParts Method
MoveWebPart Method
MoveWebPartDown Method
MoveWebPartToNextZone Method
MoveWebPartToPreviousZone Method
MoveWebPartUp Method
RemoveZone Method
ZoneExists Method
PageTemplateInstance
EnsureZone Method
Ensures that the instance of the given zone exists.
Namespace:
CMS.PortalEngine
Assembly:
CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.2.23
Syntax
C#
Copy
public
WebPartZoneInstance
EnsureZone
(
string
zoneId
)
Parameters
zoneId
Type:
System
String
Zone ID to ensure
Return Value
Type:
WebPartZoneInstance
See Also
Reference
PageTemplateInstance Class
CMS.PortalEngine Namespace
Copyright (c) 2015 Kentico Software
Send comments on this topic to
support@kentico.com