Click or drag to resize
CMSWebPartZone Methods

The CMSWebPartZone type exposes the following members.

Methods
  NameDescription
Public methodClearCache
Clears the caches of all the web parts.
Public methodFindWebPart(String)
Finds the web part with specific name.
Public methodFindWebPart(Type)
Finds the web part with specific type (first web part).
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 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).)
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 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 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 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 ControlsExtensions.)
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.)
Top
See Also