Click or drag to resize
PriorityInlineEdit Class
Inline edit for discount priority.
Inheritance Hierarchy

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
public class PriorityInlineEdit : InlineEditingTextBox

The PriorityInlineEdit type exposes the following members.

Constructors
  NameDescription
Public methodPriorityInlineEdit
Top
Methods
  NameDescription
Protected methodCreateChildControls
Initializes a new instance of the InlineEditingTextBox class.
(Inherited from InlineEditingTextBox.)
Public methodDataBind
Binds a data source to the invoked server control and all its child controls.
(Inherited from InlineEditingTextBox.)
Protected methodOnFormatting
Raises the formatting event.
(Inherited from InlineEditingTextBox.)
Protected methodOnInit
Ensures initialization of child controls.
(Inherited from InlineEditingTextBox.)
Protected methodOnLoad
Initialize value of textbox.
(Overrides InlineEditingTextBoxOnLoad(EventArgs).)
Protected methodOnPreRender
Raises the System.Web.UI.Control.PreRender event.
(Inherited from InlineEditingTextBox.)
Protected methodOnUpdate
Sets priority according discount type.
(Overrides InlineEditingTextBoxOnUpdate(EventArgs).)
Top
Extension Methods
  NameDescription
Public Extension MethodAddCssClass
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.)
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodCallHandled
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.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetCssClasses
Returns all CSS classes of control.
(Defined by ControlsExtensions.)
Public Extension MethodGetRenderedHTML
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodHasCssClass
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.)
Public Extension MethodRemoveCssClass
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.)
Public Extension MethodSetCssClasses
Sets CSS classes to the control. Current classes will be overridden.
(Defined by ControlsExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Properties
  NameDescription
Public propertyAdditionalCssClass
Gets or sets the additional CSS class for control.
(Inherited from InlineEditingTextBox.)
Public propertyDelayedReload
Forces manual postback handling in case control is used in unigrid with DelayedReload
(Inherited from InlineEditingTextBox.)
Public propertyEnableEncode
Enables encoding of inline control output. By default is true.
(Inherited from InlineEditingTextBox.)
Public propertyErrorText
Text displayed in tooltip in case of error. Set this in Update event handler in case of error.
(Inherited from InlineEditingTextBox.)
Public propertyFormattedText
Represents text to be displayed in non-editing mode. Set this in Formatting event handler. If not defined, Text property will be used.
(Inherited from InlineEditingTextBox.)
Public propertyIsLiveSite
Indicates if control is used on live site.
(Inherited from CMSWebControl.)
Public propertyMaxLength
Gets or sets the maximum number of characters allowed in the text box. Default is 200.
(Inherited from InlineEditingTextBox.)
Public propertyPrioritizableObject
Edited object.
Public propertyShortID
Short ID of the control.
(Inherited from CMSWebControl.)
Protected propertyTagKey
Gets the HtmlTextWriterTag.Div enum.
(Inherited from InlineEditingTextBox.)
Public propertyText
Represents text to be edited. Use FormattedText property, to display different text in non-editing mode.
(Inherited from InlineEditingTextBox.)
Public propertyUIContext
Returns control's UI context
(Inherited from CMSWebControl.)
Public propertyUnigrid
Unigrid to reload after priority changed.
Public propertyUseUpdatePanel
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.
(Inherited from InlineEditingTextBox.)
Top
Events
  NameDescription
Public eventFormatting
Formatting event. Use this event to set FormattedText property.
(Inherited from InlineEditingTextBox.)
Public eventUpdate
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.
(Inherited from InlineEditingTextBox.)
Top
See Also