CMSAbstractWebPart Class |
Namespace: CMS.PortalEngine.Web.UI
public abstract class CMSAbstractWebPart : AbstractUserControl, ICMSVariantsControl, ICMSPortalControl, ITimeZoneManager, IDataControl, IRelatedData, ISimpleDataContainer, IExceptionHandler
The CMSAbstractWebPart type exposes the following members.
Name | Description | |
---|---|---|
CMSAbstractWebPart |
Constructor.
| |
CMSAbstractWebPart(CMSPagePlaceholder) |
Constructor, initializes the parent portal manager.
|
Name | Description | |
---|---|---|
configureScript |
Script to fire the configuration dialog.
| |
lblWebPartTitle |
Web part title label.
| |
locationRendered |
If true, the web part location script was already rendered
| |
mChildPagePlaceholders |
First level child page placeholders.
| |
mContainer |
Container info object.
| |
mDisableMacros |
If true, the macros are disabled.
| |
mHeaderContainer |
Container control for the design mode header.
| |
mHeaderControl |
Header control
| |
mIsDesign |
True if the web part is in design mode.
| |
mLocalProperties |
Local web part properties.
| |
mNeedsLayoutScript |
If true, the web part needs the layouts script.
| |
mNotResolveProperties |
List of properties that should not be resolved.
| |
mPageCycle |
Control page cycle status.
| |
mPageManager |
Parent page manager.
| |
mPagePlaceholder |
Parent page placeholder.
| |
mParentZone |
Parent web part zone.
| |
mParentZoneSearched |
If true, the parent zone was already searched
| |
mPartInfo |
Web part info.
| |
mProvideSetPropertyScript |
If true, the script for setting the property if generated.
| |
mRelatedData |
Custom data connected to the object.
| |
mRenderWebPartClass |
If true, the web part class is rendered
| |
mShortClientID |
Short client ID.
| |
mSQLProperties |
List of SQL properties that should be escaped for SQL injection.
| |
mStandAlone |
Specifies whether the control is StandAlone or not, if false, the control is located within PortalEngine environment.
| |
mTitleInfo |
Title information.
| |
mViewMode |
Local view mode.
| |
plcTitleContainer |
Web part title container
| |
RESOLVER_RENDER |
Web part render resolver name
| |
variantsLoaded |
If true, the web part variants were already loaded
| |
widgetNotResolvePropertiesLoaded |
Flag if the properties of widget that shouldn't be resolved were loaded.
|
Name | Description | |
---|---|---|
AdditionalCssClass |
Gets or sets the additional class which is added to the web part content panel
| |
CacheDependencies |
Cache dependencies, each cache dependency on a new line.
| |
CacheItemName |
Name of the cache item the control will use.
| |
CacheMinutes |
Number of minutes the retrieved content is cached for. Zero indicates that the content will not be cached.
| |
ChildPagePlaceholders |
Returns the table of all the inner placeholders.
| |
ChildrenHaveVariants |
Returns true if the children components have any variants
| |
ComponentName |
Component name
(Inherited from AbstractUserControl.) | |
Container |
Web part container object.
| |
ContainerAfter |
Container to render after the control.
| |
ContainerBefore |
Container to render before the control.
| |
ContainerHideOnCurrentPage |
Returns true if the container should be hidden on current page (hide container on subpages in effect).
| |
ContainerHideOnSubPages |
Hide container on sub pages.
| |
ContainerName |
Container name.
| |
ContainerTitle |
Container title.
| |
ContentAfter |
Content after.
| |
ContentBefore |
Content before.
| |
ContentLoaded |
Content has been loaded.
| |
ContextResolver |
Web part context resolver.
| |
ControlContext |
Control context.
| |
CPWebPartInEdit |
Indicates whether this web part is in edit mode and contains content personalization variants.
According to this setting, the web part context menu will be rendered in the edit mode.
| |
CssClass |
Web part CSS class.
| |
CurrentDocument |
Current document
(Inherited from AbstractUserControl.) | |
CurrentPageInfo |
Current page info
(Inherited from AbstractUserControl.) | |
CurrentSite |
Current site
(Inherited from AbstractUserControl.) | |
CurrentSiteName |
Site name.
| |
CurrentUser |
Current user
(Inherited from AbstractUserControl.) | |
CustomTimeZone |
Returns custom time zone info.
| |
DisableMacros |
If true, macros are not resolved in the web part properties.
| |
DisableViewState |
Allows disabling of the web part viewstate.
| |
DisplayToRoles |
Display to roles.
| |
DocumentManager |
Document manager control
(Inherited from AbstractUserControl.) | |
DocumentWizardManager |
Gets or sets current document wizard manager
| |
EditedObject |
Control's edited object
| |
Enabled |
Enabled.
| |
EnableOutputFilter |
Enable output filter
| |
HasVariants |
Indicates whether the web part has any variants.
| |
HeaderActions |
Header actions control
(Inherited from AbstractUserControl.) | |
HideHeader |
If true, the header of the web part is hidden in design mode
| |
HideOnCurrentPage |
Returns true if the control should be hidden on current page (hide control on subpages in effect).
| |
HideOnSubPages |
Hide on sub pages.
| |
InstanceGUID |
Web part instance GUID.
| |
IsDesign |
True if the web part is in design mode.
| |
IsLayout |
Returns true, if the web part represents layout
| |
IsLiveSite |
Indicates if control is used on live site.
(Inherited from AbstractUserControl.) | |
IsVariant |
Indicates whether this web part is a variant of an existing web part.
| |
IsVisible |
Returns true if the webpart is visible.
| |
IsWidget |
Returns true if the web part is widget.
| |
Item |
Gets or sets the value of the property
| |
LayoutType |
Layout type of the parent zone
| |
MessagesPlaceHolder |
Placeholder for messages
(Inherited from AbstractUserControl.) | |
NotResolveProperties |
List of the property names that should not be resolved with macros.
| |
OutputConvertTablesToDivs |
Convert TABLE tags to DIV tags
| |
OutputFixAttributes |
Fix attributes
| |
OutputFixHTML5 |
Fix HTML5
| |
OutputFixJavascript |
Fix Javascript
| |
OutputFixLowerCase |
Fix lower case
| |
OutputFixSelfClose |
Fix self closing tags
| |
OutputResolveURLs |
Resolve URLs
| |
PageCycle |
Control page cycle status.
| |
PageManager |
Parent page manager.
| |
PagePlaceholder |
Parent page placeholder.
| |
ParentHasVariants |
Returns true if the parent component has any variants
| |
ParentZone |
Parent zone.
| |
PartInfo |
Web part info.
| |
PartInstance |
Web part instance.
| |
PortalManager |
Portal manager for the page.
| |
RelatedData |
Custom data connected to the object.
| |
Removed |
True if the web part was removed from current template.
| |
RenderEnvelope |
If true, the web part renders div with web part client ID around it.
| |
ResourcePrefix |
Prefix for the resource strings which are used for the localization.
(Overrides AbstractUserControlResourcePrefix.) | |
ResourcePrefixes |
List of cached resource prefixes for the parent hierarchy
(Inherited from AbstractUserControl.) | |
ShortClientID |
Returns the short client ID of the web part.
| |
ShortID |
Short ID of the control.
(Inherited from AbstractUserControl.) | |
ShowForDocumentTypes |
Show for document types.
| |
SkinID |
Skin ID.
(Overrides ControlSkinID.) | |
SQLProperties |
List of the property names that are used in SQL queries and should avoid SQL injection.
| |
StandAlone |
Specifies whether the control is StandAlone or not, if false, the control is located within PortalEngine environment.
| |
StopProcessing |
Returns true if the control processing should be stopped.
(Overrides AbstractUserControlStopProcessing.) | |
TimeZoneType |
Returns time zone type.
| |
TitleContainer |
Web part title container
| |
TitleInfo |
Title information.
| |
TitleLabel |
Gets the web part title label.
| |
UIContext |
Control's UI Context
| |
UpdatePanel |
Update panel of the web part.
| |
UsesLocalMessagesPlaceHolder |
Indicates if control uses local messages placeholder
(Inherited from AbstractUserControl.) | |
UseUpdatePanel |
Use update panel. This property is working only in Portal Engine mode. Don't use with ASPX templates.
| |
VariantControlsPlaceHolder |
Placeholder containing a list of variants used for an explicit rendering.
| |
ViewMode |
Page mode of the current web part.
| |
Visible |
Gets or sets whether the control is visible on the page.
(Overrides ControlVisible.) | |
WebPartHeight |
Height of the web part
| |
WebPartID |
Returns the Web part ID as registered in design mode
| |
WebPartTitle |
Web part title.
| |
WebPartType |
Returns the web part type.
| |
WebPartWidth |
Width of the web part
| |
WidgetTitle |
Widget title.
|
Name | Description | |
---|---|---|
AddConfirmation |
Adds confirmation text to existing message on the page.
(Inherited from AbstractUserControl.) | |
AddError |
Adds error text to existing message on the page.
(Inherited from AbstractUserControl.) | |
AddHeaderAction |
Adds specified action to the page header actions.
(Inherited from AbstractUserControl.) | |
AddInformation |
Adds information text to existing message on the page.
(Inherited from AbstractUserControl.) | |
AddMessage |
Adds message text to existing message on the page.
(Inherited from AbstractUserControl.) | |
AddWarning |
Adds warning text to existing message on the page.
(Inherited from AbstractUserControl.) | |
ClearCache |
Causes clearing the control data cache, override to implement the data reloading procedure.
| |
CreateChildControls |
Creates child controls within the web part.
(Overrides ControlCreateChildControls.) | |
EnsureControls |
Interface for control that is able to explicitly ensure its child controls
(Inherited from AbstractUserControl.) | |
EnsureVariants |
Ensures the web part variants
| |
Eval(String) |
Evaluates the given value
(Inherited from AbstractUserControl.) | |
Eval(String, Boolean) |
Evaluates the item data (safe version), with html encoding.
(Inherited from AbstractUserControl.) | |
EvalBool |
Evaluates the item data and converts it to the bool.
(Inherited from AbstractUserControl.) | |
EvalDateTime |
Evaluates the item data and converts it to the date time.
(Inherited from AbstractUserControl.) | |
EvalDecimal |
Evaluates the item data and converts it to the decimal.
(Inherited from AbstractUserControl.) | |
EvalDouble |
Evaluates the item data and converts it to the double.
(Inherited from AbstractUserControl.) | |
EvalGuid |
Evaluates the item data and converts it to the guid.
(Inherited from AbstractUserControl.) | |
EvalHTML |
Evaluates the item data and doesn't encode it. Method should be used for columns with html content.
(Inherited from AbstractUserControl.) | |
EvalHtmlAttribute |
Evaluates the item data, encodes it to be used in HTML attribute.
(Inherited from AbstractUserControl.) | |
EvalInteger |
Evaluates the item data and converts it to the integer.
(Inherited from AbstractUserControl.) | |
EvalJSString |
Evaluates the item data, encodes it to be used in javascript code and encapsulates it with "'".
(Inherited from AbstractUserControl.) | |
EvalText(String) |
Evaluates the item data and encodes it. Method should be used for columns with string nonhtml content.
(Inherited from AbstractUserControl.) | |
EvalText(String, Boolean) |
Evaluates the item data and encodes it. Method should be used for columns with string nonhtml content.
(Inherited from AbstractUserControl.) | |
ExecuteForAllVariants |
Executes the given action for all nested web parts
| |
GetBothResizerScript |
Gets the script for horizontal resizer.
| |
GetCacheDependency |
Gets the cache dependency for the control.
| |
GetContainerId |
Gets the ID of the container encapsulating the web part
| |
GetDefaultCacheDependendencies |
Gets the default cache dependencies for the data source.
| |
GetFlagIconUrl |
Returns resolved path to the flag image for the specified culture.
(Inherited from AbstractUserControl.) | |
GetHorizontalResizerScript |
Gets the script for horizontal resizer.
| |
GetIdentifier |
Gets web part identifier.
| |
GetImagePath |
Gets UI image relative path.
(Inherited from AbstractUserControl.) | |
GetImageUrl |
Gets UI image relative path.
(Inherited from AbstractUserControl.) | |
GetString |
Returns the localized string of the control's hierarchically highest parent that has the ResourcePrefix property and its translation defined.
(Inherited from AbstractUserControl.) | |
GetStringValue |
Gets the string value of the web part
| |
GetValue |
Returns the value of the given web part property property.
| |
GetVariantID |
Gets the variant ID for rendering
| |
GetVerticalResizerScript |
Gets the script for vertical resizer.
| |
LoadContent |
Load the content to the web part.
| |
LoadStep |
Loads the step.
| |
LoadUserControl |
Loads the user control based on the given path
(Inherited from AbstractUserControl.) | |
LogAndShowError |
Logs the exception and
(Inherited from AbstractUserControl.) | |
LogEval |
Logs the evaluation of the given column to the debug
| |
OnContentLoaded |
Method that is called when the page content is loaded, override to implement the control initialization after the content has been loaded.
| |
OnInit |
Init event handler.
(Overrides AbstractUserControlOnInit(EventArgs).) | |
OnLoad |
Load event handler.
(Overrides AbstractUserControlOnLoad(EventArgs).) | |
OnPreRender |
PreRender event handler.
(Overrides AbstractUserControlOnPreRender(EventArgs).) | |
ReleaseContext |
Releases the web part context.
| |
ReloadData |
Causes reloading the data, override to implement the data reloading procedure.
| |
RemoveVariantFromCache |
Removes the variant from cache.
| |
Render |
Renders the control.
(Overrides AbstractUserControlRender(HtmlTextWriter).) | |
ResolveMacros |
Resolves the macros within current WebPart context.
| |
ResolveUrl |
Resolves the given URL
(Inherited from AbstractUserControl.) | |
SaveStepData |
Saves the wizard step data.
| |
SetContext |
Sets the web part context.
| |
SetValue |
Sets the property value of the control, setting the value affects only local property value.
| |
ShowChangesSaved |
Shows the general changes saved message.
(Inherited from AbstractUserControl.) | |
ShowConfirmation |
Shows the general confirmation message.
(Inherited from AbstractUserControl.) | |
ShowError |
Shows the specified error message, optionally with a tooltip text.
(Inherited from AbstractUserControl.) | |
ShowInformation |
Shows the given information on the page, optionally with a tooltip text.
(Inherited from AbstractUserControl.) | |
ShowMessage(MessageTypeEnum, String, String, String, Boolean) |
Shows the specified message, optionally with a tooltip text.
(Inherited from AbstractUserControl.) | |
ShowMessage(MessageTypeEnum, String, String, String, Boolean, Boolean) |
Shows the specified message, optionally with a tooltip text.
(Inherited from AbstractUserControl.) | |
ShowWarning |
Shows the specified warning message, optionally with a tooltip text.
(Inherited from AbstractUserControl.) | |
StepFinished |
Allows you to execute additional logic after finish/save step event.
| |
StepLoaded |
Allows you to execute additional logic after load step event.
| |
ValidateStepData |
Validates the wizard step data.
|
Name | Description | |
---|---|---|
CallHandled |
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.) | |
CheckRequiredColumns |
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by ControlsExtensions.) | |
ReportException |
Reports the exception within the control hierarchy by placing an exception report next to the given control.
(Defined by ControlsExtensions.) |