ObjectTransformation Class |
Namespace: CMS.UIControls
public class ObjectTransformation : Literal
The ObjectTransformation type exposes the following members.
Name | Description | |
---|---|---|
ObjectTransformation |
Constructor.
| |
ObjectTransformation(String, Int32) |
Constructor.
|
Name | Description | |
---|---|---|
GetObject |
Gets the given object.
| |
OnPreRender |
PreRender event handler.
(Overrides ControlOnPreRender(EventArgs).) | |
Render |
Renders the control.
(Overrides LiteralRender(HtmlTextWriter).) | |
RequireObject |
Marks the given object as required.
| |
ToString |
Overrides base method and returns transformed result as a text.
(Overrides ObjectToString.) |
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
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.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Name | Description | |
---|---|---|
ContextResolver |
Macro resolver to use
| |
DataProvider |
Data provider for this transformation
| |
DirectIfNotCached |
If true, the component is allowed to get the objects one by one directly from provider if not found registered. Default false.
| |
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
| |
ObjectID |
Object ID.
| |
ObjectType |
Object type.
| |
Transformation |
Transformation - Column name (e.g. "ResourceName"), Internal UniGrid transformation (e.g. "#yesno") or a macro (e.g. "{% FirstName %} {% LastName %}").
| |
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.
|