Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Wisej.Web.Animation Properties
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Defines the animation properties.
Creates a new instance of the animation properties.
Int32: Returns or sets the delay before the animation starts in milliseconds. (Default: 0
)
Int32: Returns or sets the duration of the animation in milliseconds. (Default: 0
)
0 = Default. The animation is executed within the duration defined in the animation definition.
String: Returns or sets the animation trigger event. (Default: ""
)
Int32: Returns or sets the frame to keep when the animation ends. (Default: -1
)
-1 = Keeps the default frame as configured in the animation definition.
String: Returns or sets the name of the selected animation. (Default: ""
)
Int32: Returns or sets the number of times to repeat the animation. (Default: 0
)
-1 = Infinite. 0 = Default; the animation is repeated the number of times defined in the animation definition.
Boolean: Returns or sets whether the animation should be executed in reverse order. (Default: False
)
AnimationTiming: Returns or sets the speed curve of an animation. (Default: Default
)
Runs the animation on the connected component immediately.
Wisej.Web.AnimationEventArgs
Wisej.Web.Animation
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides support for animating controls or windows using predefined animations definitions or custom animations in response to certain events.
Initializes a new instance of the class.
Initializes a new instance of the class attached to a implementation.
Name | Type | Description |
---|
Returns a value indicating whether a control can be extended.
Removes all animations.
Animation properties.
Throws:
Removes all the animation properties from the control .
: Manages a collection of used defined animation definitions.
: Returns or sets the object that contains programmer-supplied data associated with this component. (Default: null
)
Parameter | Type | Description |
---|
Returns: . true if the control can be extended; otherwise, false.
Parameter | Type | Description |
---|
Returns: . The name of the selected animation.
control is null.
Fires the event.
Parameter | Type | Description |
---|
Fires the event.
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Runs the animation of the specified immediately. If the control doesn't have a configured animation this method doesn't do anything.
Parameter | Type | Description |
---|
Fired when the animation ends.
Fired when the animation begins.
Name | Description |
---|
Blink
Blink animation, the element appears and disappears.
Bounce
Bounce animation. The element bounces up and down.
None
No animation.
Tada
Tada animation. The element is zoomed, giggles and returns to its original size and location.
Returns or sets a value indicating the type of animation to perform when the error icon blinks..
extendee | The control to be extended. |
control | The control to get the animation name for. |
e |
e |
control |
control | The control to animate. |
All wisej components implement this interface. |
Allows an object to serialize itself. |
container |
Wisej.Web.ErrorProvider
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides a user interface for indicating that a control on a form has an error associated with it.
Initializes a new instance of the ErrorProvider class and initializes the default settings for BlinkRate, BlinkStyle, and the Icon.
Initializes a new instance of the ErrorProvider class attached to a ContainerControl.
Name | Type | Description |
---|---|---|
Initializes a new instance of the ErrorProvider class attached to an IContainer implementation.
Boolean: Returns or sets a value indicating that the control can display HTML in the ErrorMessage property. (Default: False
)
ErrorAnimationType: Returns or sets a value indicating the type of animation to perform when the error icon blinks.. (Default: Blink
)
Int32: Returns or sets the rate at which the error icon flashes. (Default: 250
)
Throws:
ArgumentOutOfRangeException The value is less than zero.
ErrorBlinkStyle: Returns or sets a value indicating when the error icon flashes. (Default: BlinkIfDifferentError
)
ContainerControl: Returns or sets the parent control for this ErrorProvider. (Default: null
)
String: Returns or sets the list within a data source to monitor for errors. (Default: ""
)
Object: Returns or sets the data source that the ErrorProvider monitors for errors. (Default: null
)
Boolean: Returns true when the error provider contains at least one error.
Image: Returns or sets the Image that is displayed next to a control when an error description string has been set for the control.
Throws:
ArgumentNullException The assigned value of the Image is null.
ErrorIconAlignment: Returns or sets the default ErrorIconAlignment. (Default: MiddleRight
)
Int32: Returns or sets the default ErrorIconAlignment. (Default: 0
)
String: Returns or sets the source URL of the image that is displayed next to a control when an error description string has been set for the control.
Throws:
ArgumentNullException The assigned value of the Image is null.
Boolean: Returns or sets a value that indicates whether the component is used in a locale that supports right-to-left fonts. (Default: False
)
Object: Returns or sets an object that contains data about the component. (Default: null
)
Sets the DataSource and DataMember properties.
Returns a value indicating whether a control can be extended.
Returns: Boolean. true if the control can be extended; otherwise, false.This property will be true if the object is a Control and is not a Form or ToolBar.
Clears all error providers.
Returns the current error description string for the specified control.
Returns: String. The error description string for the specified control.
Throws:
ArgumentNullException control is null.
Returns a value indicating where the error icon should be placed in relation to the control.
Returns: ErrorIconAlignment. One of the ErrorIconAlignment values. The default icon alignment is MiddleRight.
Throws:
ArgumentNullException control is null.
Returns the amount of extra space to leave next to the error icon.
Returns: Int32. The number of pixels to leave between the icon and the control.
Throws:
ArgumentNullException control is null.
Sets the error description string for the specified control.
Throws:
ArgumentNullException control is null.
Sets the location where the error icon should be placed in relation to the control.
Throws:
ArgumentNullException control is null.
Sets the amount of extra space to leave between the specified control and the error icon.
Throws:
ArgumentNullException control is null.
Updated the bindings.
EventHandler Fired when the RightToLeft property changes value.
Wisej.Web.HelpTip
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents a small rectangular pop-up window that displays a brief help text next to a control when it gets activated (focused).
Initializes a new instance of the HelpTip without a specified container.
Initializes a new instance of the HelpTip class with a specified container.
Name | Type | Description |
---|---|---|
Boolean: Returns or sets whether the HelpTip provider is currently active. (Default: True
)
Placement: Returns or sets the position of the HelpTip in relation to the target control. (Default: RightMiddle
)
Boolean: Returns or sets a value indicating that the control can display html in the Text property. (Default: False
)
Int32: Returns or sets the period of time the HelpTip remains visible if the pointer is stationary on a control with specified HelpTip text. (Default: 0
)
Color: Returns or sets the background color for the HelpTip. (Default: Color [Empty]
)
Color: Returns or sets the foreground color for the HelpTip. (Default: Color [Empty]
)
ToolTipIcon: Returns or sets a value that defines the type of icon to be displayed alongside the HelpTip text. (Default: Default
)
Int32: Returns or sets the time that passes before the HelpTip appears. (Default: 0
)
Object: Returns or sets the object that contains programmer-supplied data associated with the HelpTip. (Default: null
)
Returns true if the HelpTip can offer an extender property to the specified target component.
Returns: Boolean. true if the HelpTip class can offer one or more extender properties; otherwise, false.
Removes all HelpTip text currently associated with the HelpTip component.
Retrieves the HelpTip text associated with the specified control.
Returns: String. A String containing the HelpTip text for the specified control.
Associates HelpTip text with the specified control.
Wisej.Web.ErrorBlinkStyle
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Specifies constants indicating when the error icon, supplied by an ErrorProvider, should blink to alert the user that an error has occurred.
Name | Description |
---|---|
Name | Description |
---|---|
Wisej.Web.Rotation Properties
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents the set of CSS3 rotation properties.
Creates a new instance of the rotation properties.
Boolean: Enables or disables the rotation. (Default: True
)
Boolean: Hides the backside of a rotated component. (Default: False
)
String: Changes the position of transformed elements by setting the location of the rotation fulcrum in relation to the widget. If left empty, the default is 50% 50%, the center of the control. (Default: ""
)
Int32: Defines a perspective view for a 3D transformed element. (Default: 0
)
Int32: Defines a 3D rotation along the X-axis. (Default: 0
)
Int32: Defines a 3D rotation along the Y-axis. (Default: 0
)
Int32: Defines a 3D rotation along the Z-axis. (Default: 0
)
Int32: Defines a 3D scale (%) transformation by giving a value for the X-axis. (Default: 100
)
Int32: Defines a 3D scale (%) transformation by giving a value for the Y-axis. (Default: 100
)
Int32: Defines a 3D scale (%) transformation by giving a value for the Z-axis. (Default: 100
)
Wisej.Web.Rotation
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Add rotation capabilities along the X,Y,Z axis to Control controls.
Initializes a new instance of the Rotation extender without a specified container.
Initializes a new instance of the Rotation extender with a specified container.
Name | Type | Description |
---|---|---|
Object: Returns or sets the object that contains programmer-supplied data associated with the StyleSheet extender. (Default: null
)
Returns true if the Rotation extender can offer an extender property to the specified target component.
Returns: Boolean. true if the Rotation class can offer one or more extender properties; otherwise, false.
Removes all rotation properties.
Rotation properties.
Returns: Properties. A Properties instance with the rotation properties.
Removes all the rotation properties from the control .
Assigns the rotation properties to the control.
Wisej.Web.JavaScript ClientEvent
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represent a JavaScript event and the corresponding code to execute on the client when the event is fired.
String: Returns or sets the name of the event. Not all events are available to all controls, which events are fired depends on the widget that corresponds to the control. (Default: null
)
String: Returns or sets the JavaScript handler for the event. (Default: ""
)
Wisej.Web.ToolTip
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents a small rectangular pop-up window that displays a brief description of a control's purpose when the user rests the pointer on the control.
Initializes a new instance of the ToolTip without a specified container.
Initializes a new instance of the ToolTip class with a specified container.
Name | Type | Description |
---|---|---|
Boolean: Returns or sets whether the ToolTip provider is currently active. (Default: True
)
Nullable<Placement>: Returns or sets the alignment side and position of the tooltips. (Default: null
)
Boolean: Returns or sets a value indicating that the control can display HTML in the Text property. (Default: False
)
Int32: Returns or sets the automatic delay for the ToolTip. (Default: 500
)
Int32: Returns or sets the period of time the ToolTip remains visible if the pointer is stationary on a control with specified ToolTip text.
Color: Returns or sets the text color of the ToolTip. (Default: Color [Empty]
)
Int32: Returns or sets the time that passes before the ToolTip appears.
Object: Returns or sets the object that contains programmer-supplied data associated with the ToolTip. (Default: null
)
ToolTipIcon: Returns or sets a value that defines the type of icon to be displayed alongside the ToolTip text. (Default: Default
)
String: Returns or sets the icon name or URL to use as the ToolTip icon. (Default: null
)
Returns true if the ToolTip can offer an extender property to the specified target component.
Returns: Boolean. true if the ToolTip class can offer one or more extender properties; otherwise, false.
Removes all ToolTip text currently associated with the ToolTip component.
Retrieves the ToolTip text associated with the specified control.
Returns: String. A String containing the ToolTip text for the specified control.
Associates ToolTip text with the specified control.
Shows the tooltip net to the target component.
Shows the tooltip at the specified x and y screen coordinates.
Shows the tooltip at the specified location .
Wisej.Web.Validation
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Adds a common validation system to any Control.
You can drop this extender on any design surface to add validation rules to any control at design time using the added ValidationRules property. You can also use this component at runtime and invoke the SetValidationRules method directly. Validation rules are executed in the order they are added to the array. When a validation rule fails validation, the next rules are NOT executed and the Cancel property of the control's Validating event is set to true.
Initializes a new instance of the Validation class.
Initializes a new instance of the Validation class attached to a IContainer implementation.
Name | Type | Description |
---|---|---|
IErrorProvider: Associates an IErrorProvider to the Validation extender."/> (Default: null
)
When this property is null (default), the validation extender sets the InvalidMessage property of the control being validated to the corresponding InvalidMessage when a validation rule fails. Otherwise it invokes the SetError method passing the control that failed validation and the corresponding InvalidMessage string. You may use an instance of ErrorProvider to display error icons and messages. But you can also implement the IErrorProvider interface in a custom class and manage errors however required by the application. A third option is to assign a Label (or any Control that implements IErrorProvider) to the ErrorProvider property to let the validation extender set the text property to the corresponding InvalidMessage string.
The Label (or any Control that implements IErrorProvider) is automatically hidden (Visible is set to false) when there is no error message to display.
Object: Returns or sets the object that contains programmer-supplied data associated with the Validation extender. (Default: null
)
Returns a value indicating whether a control can be extended.
Returns: Boolean. true if the control can be extended; otherwise, false.
Removes all validation rules.
Returns the collection of ValidationRule associated with the specified control .
Returns: ValidationRule[]. Array of the validation rules associated to the control .
Fires the Validated event.
Fires the Validating event.
Removes all the validation rules from the control .
Sets the list of validation rules associated with the specified control .
ValidationEventHandler Fired after any control associated to the Validation extender has been successfully validated.
You can add an handler to this event and handle the successful validation of all the controls that have a set of validation rules in one place.
ValidationEventHandler Fired when the any control associated to the Validation extender is being validated.
You can add an handler to this event and handle the validation of all the controls that have a set of validation rules in one place.
Wisej.Web.EmailValidationRule
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Validates email addresses.
Initializes a new instance of .
: Returns or sets a list of invalid domains: i.e. "dropmail.com", "protonmail.com". (Default: null
)
Validates the control using the validation rule.
Wisej.Web.IntegerValidationRule
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Validates long integer values.
Initializes a new instance of the class.
: Returns or sets the maximum value; or null for no maximum. (Default: null
)
Validates the control using the validation rule.
Wisej.Web.JavaScript
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Allows controls to execute javascript code.
Initializes a new instance of the without a specified container.
Initializes a new instance of the class with a specified container.
Name | Type | Description |
---|
Returns true if the JavaScript extender can offer an extender property to the specified target component.
Removes all scripts.
Retrieves the JavaScript code associated with the specified control. The JavaScript code will be execute on the client when the control is created or refreshed.
Returns the collection of JavaScript event handlers associated with the control.
Retrieves the JavaScript file associated with the specified control. The JavaScript code will be execute on the client when the control is created or refreshed.
Associates JavaScript code with the specified control.
Associates JavaScript file with the specified control.
Wisej.Web.TelephoneValidationRule
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Validates telephone numbers.
Initializes a new instance of the class.
: Returns or sets whether to format the value of the control after validation. (Default: False
)
Invoked after the control has been successfully validated.
Validates the control using the validation rule.
Wisej.Web.CurrencyValidationRule
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Validates currency values.
Initializes a new instance of the class.
: Returns or sets the currency symbol to validate. The default is null to use the current . (Default: null
)
Invoked after the control has been successfully validated.
Validates the control using the validation rule.
Wisej.Web.TabOrderManager
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides automatic tab order management to containers.
Initializes a new instance of the without a specified container.
Initializes a new instance of the class with a specified container.
Name | Type | Description |
---|
Updates the of all the children controls.
Parameter | Type | Description |
---|
Updates the tab order of the top container and all its child containers.
Wisej.Web.StyleSheet
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Adds CSS styling to controls.
Initializes a new instance of the without a specified container.
Initializes a new instance of the class with a specified container.
Name | Type | Description |
---|
Returns true if the StyleSheet extender can offer an extender property to the specified target component.
Removes all css classes.
Retrieves the CSS class name associated with the specified control.
Adds the CSS class name to the specified control.
Control to remove from the extender.
An that represents the container of the extender.
Name | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
: Returns or sets the name of the validation rule. (Default: "Email"
)
: Returns or sets whether the control can be empty or its required to have a value. (Default: False
)
: Returns or sets a list of valid domains: i.e. "mycompany.com", "gmail.com", "hotmail.com". (Default: null
)
Parameter | Type | Description |
---|
Returns: . true if the validation is successful; otherwise false.
: Returns or sets the minimum value; or null for no minimum. (Default: null
)
: Returns or sets the name of the validation rule. (Default: "Integer"
)
: Returns or sets whether the control can be empty or its required to have a value. (Default: False
)
Parameter | Type | Description |
---|
Returns: . true if the validation is successful; otherwise false.
: Returns or sets the object that contains programmer-supplied data associated with the extender. (Default: null
)
Parameter | Type | Description |
---|
Returns: . true if the class can offer one or more extender properties; otherwise, false.
Parameter | Type | Description |
---|
Returns: . A containing the javascript code for the specified control.
Parameter | Type | Description |
---|
Returns: .
Parameter | Type | Description |
---|
Returns: . A containing the name of the javascript file for the specified control.
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Name | Description |
---|
: Returns or sets the character mask used to validate the telephone number. It is based on the implementation. (Default: ""
)
: Returns the used to validate the control's text.
: Returns or sets the name of the validation rule. (Default: "Telephone"
)
: Returns or sets whether the control can be empty or its required to have a value. (Default: False
)
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Returns: . true if the validation is successful; otherwise false.
: Returns or sets the required number of decimal digits; or null to use the current . (Default: null
)
: Returns or sets whether to format the value of the control after validation. (Default: False
)
: Returns or sets the maximum value; or null for no maximum. (Default: null
)
: Returns or sets the minimum value; or null for no minimum. (Default: null
)
: Returns or sets the name of the validation rule. (Default: "Currency"
)
: Returns or sets whether the control can be empty or its required to have a value. (Default: False
)
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Returns: . true if the validation is successful; otherwise false.
Returns: .
Removes all values.
Returns or sets the assigned to the specified container.
Parameter | Type | Description |
---|
Returns: . One of the values.
Resets the assigned to the specified container .
Parameter | Type | Description |
---|
Adds the to the specified container.
Parameter | Type | Description |
---|
Updates the of all children controls using the specified to calculate the tabbing order.
Parameter | Type | Description |
---|
: Returns or sets the CSS definitions managed by the extender. (Default: ""
)
: Returns or set the source of the CSS file containing the CSS definitions managed by the extender. (Default: ""
)
: Returns or sets the object that contains programmer-supplied data associated with the extender. (Default: null
)
Parameter | Type | Description |
---|
Returns: . true if the class can offer one or more extender properties; otherwise, false.
Parameter | Type | Description |
---|
Returns: . The CSS class name added to the specified control.
Parameter | Type | Description |
---|
Name | Description |
---|
container
An IContainer that represents the container of the ErrorProvider extender.
dataSource
A data set based on the IList interface to be monitored for errors.
dataMember
A collection within the dataSource to monitor for errors.
extendee
The control to be extended.
control
The item to get the error description string for.
control
The control to get the icon location for.
control
The control to get the padding for.
control
The control to set the error description string for.
value
The error description string, or null or Empty to remove the error.
control
The control to set the icon location for.
value
One of the ErrorIconAlignment values.
control
The control to set the padding for.
value
The number of pixels to add between the icon and the control .
Exposes a common api implemented by components that can collect errors in relation to a Control.
All wisej components implement this interface.
Allows an object to serialize itself.
Default
The animation has the speed defined in the original definition. This is the default.
Ease
The animation has a slow start, then fast, before it ends slowly
EaseIn
The animation has a slow start.
EaseInOut
The animation has both a slow start and a slow end.
EaseOut
The animation has a slow end.
Linear
The animation has the same speed from start to end.
Returns or sets the speed curve of an animation.
target
The target object to add an extender property to.
control
control
The Control to associate the HelpTip text with.
caption
The HelpTip text to display when the pointer is on the control.
All wisej components implement this interface.
Allows an object to serialize itself.
BottomLeft
The icon appears aligned with the bottom of the control and the left of the control.
BottomRight
The icon appears aligned with the bottom of the control and the right of the control.
MiddleLeft
The icon appears aligned with the middle of the control and the left of the control.
MiddleRight
The icon appears aligned with the middle of the control and the right of the control.
TopLeft
The icon appears aligned with the top of the control and to the left of the control.
TopRight
The icon appears aligned with the top of the control and to the right of the control.
Returns or sets the default ErrorIconAlignment.
Returns a value indicating where the error icon should be placed in relation to the control.
sender
The source of the event.
e
A AnimationEventArgs that contains the event data.
Fired when the animation begins.
Fired when the animation ends.
AlwaysBlink
Always blink when the error icon is first displayed, or when a error description string is set for the control and the error icon is already displayed.
BlinkIfDifferentError
Blinks when the icon is already displayed and a new error string is set for the control.
NeverBlink
Never blink the error icon.
Returns or sets a value indicating when the error icon flashes.
target
The target object to add an extender property to.
control
The Control for which to retrieve the rotation properties.
control
Control to remove from the Rotation extender.
control
The control to rotate.
properties
An instance of Properties defining the rotation style.
All wisej components implement this interface.
Defines the interface for extending properties to other components in a container.
Allows an object to serialize itself.
target
The target object to add an extender property to.
control
control
The Control to associate the ToolTip text with.
caption
The ToolTip text to display when the pointer is on the control.
target
A Wisej control or component (i.e. column, header).
text
Text to show in the tooltip.
text
Text to show in the tooltip.
x
y
text
Text to show in the tooltip.
location
Location of the tooltip in screen coordinates.
All wisej components implement this interface.
Allows an object to serialize itself.
extendee
The control to be extended.
control
Control associated with the validation rules to retrieve.
e
e
control
Control to remove from the Validation extender.
control
Control associated with the validation rules.
rules
List of validation rules to enforce on the specified control .
control |
control |
target | The target object to add an extender property to. |
control |
control |
control |
control |
script | The JavaScript code to execute when the control is created. |
control |
file | The JavaScript file to execute when the control is created. |
All wisej components implement this interface. |
Allows an object to serialize itself. |
control |
control |
control |
control |
container |
container |
container |
value |
container |
direction |
target | The target object to add an extender property to. |
control |
control |
cssClass | The CSS class name to add to the control. |
All wisej components implement this interface. |
Defines the interface for extending properties to other components in a container. |
Allows an object to serialize itself. |
containerControl
The ContainerControl to monitor for errors.
container
An IContainer that represents the container of the HelpTip extender.
container
An IContainer that represents the container of the Rotation extender.
container
An IContainer that represents the container of the ToolTip extender.
container
An IContainer that represents the container of the Validation extender.
container |
container |
container | Container owning the children to update. |
direction |
tabIndex | Starting tab index. |
deep | True to assign the tab index of all children at all levels. |
container |
Default | Use the icon defined in the theme. |
Error | An error icon. |
Info | An information icon. |
None | No icon. |
Warning | A warning icon. |
Returns or sets a value that defines the type of icon to be displayed alongside the HelpTip text. |
Returns or sets a value that defines the type of icon to be displayed alongside the ToolTip text. |
Wisej.Web.RequiredValidationRule
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Validates controls that cannot be left empty.
Initializes a new instance of the RequiredValidationRule class.
Nullable<Int32>: Returns or sets the required minimum number of characters. (Default: null
)
String: Returns or sets the name of the validation rule. (Default: "Required"
)
Boolean: Returns or sets whether the control can be empty or its required to have a value. (Default: True
)
Boolean: Returns or sets whether empty controls with spaces are considered empty and fail validation. (Default: True
)
Validates the control using the validation rule.
Returns: Boolean. true if the validation is successful; otherwise false.
Wisej.Web.ValidationRule
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents a validation rule within an instance of the Validation extender.
Initializes a new instance of a ValidationRule implementation.
Initializes a new instance of a ValidationRule implementation using the specified name and optional invalidMessage .
Name | Type | Description |
---|---|---|
Boolean: Enables or disables the validation rule. Since 3.2.7 (Default: True
)
IErrorProvider: Returns or sets the control that displays the InvalidMessage string. (Default: null
)
String: Returns or sets the error message for the validation rule. (Default: null
)
String: Returns or sets the name of the validation rule. (Default: null
)
Invoked when the control associated with the validation rule is created and ready to be rendered on the client.
The ControlCreated event is fired when the control is made visible the first time and it's ready to be displayed on the client browser; it's not fire when the control is constructed. Use this overload if your custom ValidationRule needs to read or set properties on the control itself. i.e. set the Filter, or format strings.
Invoke after the control has been validated successfully.
Invoked when the control is being validated.
Returns: Boolean. true if the validation is successful; otherwise false.
Wisej.Web.ValidationEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents the method that will handle the Validating event.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Wisej.Web.ValidationEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides data for the Validating event handlers.
Control: Control being validated.
String: Message to return when validation fails.
ValidationRule[]: Rules associated to the Control being validated.
Name | Description |
---|---|
Wisej.Web.DecimalValidationRule
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Validates decimal values.
Initializes a new instance of the DecimalValidationRule class.
Nullable<Int32>: Returns or sets the required number of decimal digits; or null to allow any number of decimals. (Default: null
)
Boolean: Returns or sets whether to format the value of the control after validation. (Default: False
)
Nullable<Decimal>: Returns or sets the maximum value; or null for no maximum. (Default: null
)
Nullable<Decimal>: Returns or sets the minimum value; or null for no minimum. (Default: null
)
String: Returns or sets the name of the validation rule. (Default: "Decimal"
)
Boolean: Returns or sets whether the control can be empty or its required to have a value. (Default: False
)
Invoked after the control has been successfully validated.
Validates the control using the validation rule.
Returns: Boolean. true if the validation is successful; otherwise false.
Wisej.Web.JavaScript ClientEventCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents a collection of JavaScript events and their corresponding handler code.
Int32: Returns the number of items in the collection.
ClientEvent: Returns the ClientEvent element at the specified index .
Adds the ClientEvent instance to the collection.
Removes all the ClientEvent items from the collection.
Checks whether the specified item exists in the collection.
Returns: Boolean. True of the collection contains the specified item .
Returns the position of the specified item in the collection.
Returns: Int32. The index of the specified item or -1 if not found.
Inserts the item into the collection at the specified index .
Removes the item from the collection.
Returns: Boolean. True of the specified item was found and removed from the collection.
Removes the ClientEvent item at the location index .
CollectionChangeEventHandler Fired when the collection has changed.
Wisej.Web.RegexValidationRule
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Validates the control using a custom Regex expression.
Initializes a new instance of RegexValidationRule.
String: Returns or sets the filter property (i.e. Filter) property on editable controls that support filtering of the keys as they are typed. (Default: null
)
String: Returns or sets the name of the validation rule. (Default: "Regex"
)
String: Returns or sets the Regex used to validate the control. (Default: null
)
Invoked when the control associated with the validation rule is created and ready to be rendered on the client.
Validates the control using the validation rule.
Returns: Boolean. true if the validation is successful; otherwise false.
The for which to retrieve the JavaScript code.
The to attach the JavaScript event handlers to.
The for which to retrieve the JavaScript file.
The to associate the JavaScript with.
The to associate the JavaScript file with.
The container that will use the to automatically arrange the of its children.
The container to assign the to.
New to assign to the container .
The that container the child control to update.
The used to determine the new tabbing order.
The for which to retrieve the CSS class name.
The to add the CSS class name to.
An that represents the container of the extender.
An that represents the container of the extender.
One of indicating how to increase the tab index.
An that represents the container of the extender.
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
control
control
Control being created.
control
Control that validated successfully.
control
Control being validated.
Validates the control using a custom Regex expression.
Validates controls that cannot be left empty.
Validates telephone numbers.
Validates decimal values.
Validates currency values.
Validates long integer values.
Validates email addresses.
sender
The source of the event.
e
A ValidationEventArgs that contains the event data.
Fired when the any control associated to the Validation extender is being validated.
Fired after any control associated to the Validation extender has been successfully validated.
control
control
item
ClientEvent item to add to the collection.
item
ClientEvent items to find in the collection.
item
ClientEvent item to locate in the collection.
index
Position where to insert the item .
item
ClientEvent item to insert into the collection.
item
ClientEvent instance to remove from the collection.
index
Position of the item to remove from the collection.
control
Control being created.
control
name
Name of the validation rule.
invalidMessage
Error message related to the validation rule.
Represents the method that will handle the Validating event.