ObjectTransformationBase Class |
Namespace: CMS.UIControls
public abstract class ObjectTransformationBase : PlaceHolder, IDataItemContainer, INamingContainer
The ObjectTransformationBase type exposes the following members.
Name | Description | |
---|---|---|
ObjectTransformationBase |
Constructor.
|
Name | Description | |
---|---|---|
ContextResolver |
Macro resolver to use
| |
DataItem |
Data item for the transformation template
| |
DataItemIndex |
Data item index
| |
DirectIfNotCached |
If true, the component is allowed to get the objects one by one directly from provider if not found registered. Default false.
| |
DisplayIndex |
Display index
| |
EncodeOutput |
If true, the output is encoded. Default value is true.
| |
LocalizeStrings |
If true, the output localizes the string macros.
| |
NoDataTransformation |
Transformation used in case the object was not found
| |
ObjectRequested |
If true, the object was already requested
| |
ObjectType |
Object type.
| |
Transformation |
Transformation - Column name (e.g. "ResourceName"), Internal UniGrid transformation (e.g. "#yesno") or a macro (e.g. "{% FirstName %} {% LastName %}").
| |
TransformationName |
Transformation name.
Supports the following formats of transformation name:
[Some text with macros] - Inline transformation
cms.user.sometransformation - Transformation full name from database
~/SomePath/SomeControl.ascx - Path to transformation user control
| |
UseEmptyInfoForObjectLimitedByLicense |
Gets or sets the value that indicates whether empty info should be used for objects limited by license.
Use this property to true if object values need not to be correct and the purpose of the displayed object is object itself.
|
Name | Description | |
---|---|---|
GetDefaultParameter |
Gets the default parameter for the transformation
| |
GetObject |
Gets the object used by the transformation
| |
RegisterObject |
Register required object.
| |
Render |
Renders the control.
(Overrides ControlRender(HtmlTextWriter).) | |
ToString |
Overrides base method and returns transformed result as a text.
(Overrides ObjectToString.) |
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.) | |
GetString |
Gets the string by the specified resource key
(Defined by ControlsExtensions.) |