InlineEditingTextBox Class |
Namespace: CMS.Base.Web.UI
public class InlineEditingTextBox : CMSWebControl
The InlineEditingTextBox type exposes the following members.
Name | Description | |
---|---|---|
InlineEditingTextBox |
Name | Description | |
---|---|---|
AdditionalCssClass |
Gets or sets the additional CSS class for control.
| |
DelayedReload |
Forces manual postback handling in case control is used in unigrid with DelayedReload
| |
EnableEncode |
Enables encoding of inline control output. By default is true.
| |
ErrorText |
Text displayed in tooltip in case of error. Set this in Update event handler in case of error.
| |
FormattedText |
Represents text to be displayed in non-editing mode. Set this in Formatting event handler.
If not defined, Text property will be used.
| |
IsLiveSite |
Indicates if control is used on live site.
(Inherited from CMSWebControl.) | |
MaxLength |
Gets or sets the maximum number of characters allowed in the text box. Default is 200.
| |
ShortID |
Short ID of the control.
(Inherited from CMSWebControl.) | |
TagKey |
Gets the HtmlTextWriterTag.Div enum.
(Overrides WebControlTagKey.) | |
Text |
Represents text to be edited. Use FormattedText property, to display different text in non-editing mode.
| |
UseUpdatePanel |
Gets or sets a value indicating whether to use update panel.
It is recommended to set it to true only in columns that have sorting disabled.
Setting this to true, will speed up inline editing because of less data needed to be transfered during post back.
Default value is false.
|
Name | Description | |
---|---|---|
CreateChildControls |
Initializes a new instance of the InlineEditingTextBox class.
(Overrides ControlCreateChildControls.) | |
DataBind |
Binds a data source to the invoked server control and all its child controls.
(Overrides ControlDataBind.) | |
OnFormatting |
Raises the formatting event.
| |
OnInit |
Ensures initialization of child controls.
(Overrides CMSWebControlOnInit(EventArgs).) | |
OnLoad |
Ensures action events.
(Overrides ControlOnLoad(EventArgs).) | |
OnPreRender |
Raises the System.Web.UI.Control.PreRender event.
(Overrides ControlOnPreRender(EventArgs).) | |
OnUpdate |
Raises the update event.
|
Name | Description | |
---|---|---|
AddCssClass |
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
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.) | |
GetCssClasses |
Returns all CSS classes of control.
(Defined by ControlsExtensions.) | |
GetRenderedHTML |
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by ControlsExtensions.) | |
HasCssClass |
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
RemoveCssClass |
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
SetCssClasses |
Sets CSS classes to the control. Current classes will be overridden.
(Defined by ControlsExtensions.) |
Name | Description | |
---|---|---|
Formatting |
Formatting event. Use this event to set FormattedText property.
| |
Update |
Update event. Use this event to save edited data, set ErrorText property in case of error
and reload unigrid's data in case of using InlineEditingTextBox in columns that have sorting enabled.
|