EditableWebPartProperty Class |
Namespace: CMS.PortalControls
public class EditableWebPartProperty : Literal
The EditableWebPartProperty type exposes the following members.
Name | Description | |
---|---|---|
EditableWebPartProperty |
Constructor
|
Name | Description | |
---|---|---|
ApplyReplacements |
Applies the replacements to the given text
| |
GenerateSpaces |
Generates spaces
| |
GetDialogURL |
Returns the URL of the editing dialog for a general property
| |
GetHTMLCode |
Gets the HTML code of the editable property
| |
OnPreRender |
PreRender event handler
(Overrides ControlOnPreRender(EventArgs).) |
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 | |
---|---|---|
CssClass |
CSS class
| |
Encode |
If true (default), the property text is encode
| |
FormControl |
Code name of the form control used for editing of the property
| |
LineNumber |
Line number in the web part property that the value corresponds, indexed from 1 (only this line is replaced by the new value upon editing). If 0 or less, the whole property is replaced.
| |
ParentWebPart |
Parent web part
| |
PropertyName |
Property name
| |
Replacements |
Replacements of the items. NOTE: When updating, update also the list in file layout.js
| |
Style |
Style
| |
Type |
If true, the property is multiline (editable with textbox)
|