Click or drag to resize
CMSWebPartZone Methods

The CMSWebPartZone type exposes the following members.

Methods
  NameDescription
Public methodcachedControl_PreRender
PreRender event handler.
Public methodClearCache
Clears the caches of all the web parts.
Public methodStatic memberEnablePartialCache
Returns true if the partial caching is enabled.
Public methodFindWebPart(String)
Finds the web part with specific name.
Public methodFindWebPart(Type)
Finds the web part with specific type (first web part).
Public methodGetImageUrl
Gets UI image relative path.
Public methodGetSpellCheckFields
Returns the list of the field IDs (Client IDs of the inner controls) that should be spell checked.
Public methodGetValue
Returns the value of the given webpart property property.
Public methodGetWebPart
Returns web part with the specified name or null if not found.
Public methodStatic memberGetWebPartUrl
Gets the URL for the web part to load.
Protected methodLoadCachedWebPart
Loads the content to the partially cached web part
Public methodLoadRegionsContent
Loads the editable regions content.
Public methodStatic memberLoadWebPart
Loads the web part to the given zone. Returns the newly created web part.
Public methodLoadWebParts
Loads the web parts to the control.
Public methodLoadWebPartsContent
Loads the web parts content.
Public methodOnContentLoaded
Method that is called when the page content is fully loaded.
Protected methodOnInit
Init action.
(Overrides CMSWebControlOnInit(EventArgs).)
Protected methodOnLoad
Load action.
(Overrides ControlOnLoad(EventArgs).)
Protected methodOnPreRender
PreRender action.
(Overrides ControlOnPreRender(EventArgs).)
Protected methodReloadControls Obsolete.
Reloads the zone controls.
Public methodReloadData
Causes reloading the data, override to implement the data reloading procedure.
Public methodRemoveVariantFromCache
Removes the variant from cache.
Protected methodRender
Render action.
(Overrides WebControlRender(HtmlTextWriter).)
Public methodRequiresWebPartManagement Obsolete.
Returns true if the web part management support is required.
Public methodResolveMacros
Resolves the macros within current WebPart context.
Public methodSaveContent
Saves the page content to the page info.
Public methodSetValue
Sets the property value of the control, setting the value affects only local property value.
Public methodValidate
Saves the page content to the page info.
Top
Extension Methods
  NameDescription
Public Extension MethodAddCssClass
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.)
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodCallHandled
Calls the method handled by the exception handler. If the call doesn't succeed, the problem is reported through parent IExceptionHandler control instead of throwing unhandled exception for the entire page. Returns true, if the call succeeded, otherwise returns false.
(Defined by ControlsExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetCssClasses
Returns all CSS classes of control.
(Defined by ControlsExtensions.)
Public Extension MethodGetRenderedHTML
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodHasCssClass
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.)
Public Extension MethodRemoveCssClass
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.)
Public Extension MethodSetCssClasses
Sets CSS classes to the control. Current classes will be overridden.
(Defined by ControlsExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
See Also