Wisej.Web.JavaScript ClientEvent
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represent a JavaScript event and the corresponding code to execute on the client when the event is fired.
Initializes a new instance of ClientEvent.
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.JavaScript ClientEventCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents a collection of JavaScript events and their corresponding handler code.
Initializes a new instance of .
: Returns the number of items in the collection.
: Returns the element at the specified index .
Checks whether the specified item exists in the collection.
Returns the position of the specified item in the collection.
Inserts the item into the collection at the specified index .
Removes the item from the collection.
Adds the instance to the collection.
Parameter | Type | Description |
---|
Removes all the items from the collection.
Parameter | Type | Description |
---|
Returns: . True of the collection contains the specified item .
Parameter | Type | Description |
---|
Returns: . The index of the specified item or -1 if not found.
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Returns: . True of the specified item was found and removed from the collection.
Removes the item at the location index .
Parameter | Type | Description |
---|
Fired when the collection has changed.
item |
item |
item |
index | Position where to insert the item . |
item |
item |
index | Position of the item to remove from the collection. |
Wisej.Web.JavaScript
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.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.
item to add to the collection.
items to find in the collection.
item to locate in the collection.
item to insert into the collection.
instance to remove from the collection.
: 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 |
---|
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. |
container |
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.
An that represents the container of the extender.