Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Wisej.Web.UploadErrorEventHandler
Wisej.Web.UploadedEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Provides data for the Uploaded event.
Initializes a new instance of the UploadedEventArgs class with the specified collection of uploaded files.
files
HttpFileCollection: Returns the collection of uploaded files.
Wisej.Web.CaptureMode
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Specifies the possible values for the CaptureMode property.
Default
Default value.
Environment
Specifies that the outward-facing camera and/or microphone should be used.
User
Indicates that the user-facing camera and/or microphone should be used.
Returns or sets a value that specifies which camera to use for capture of image or video data, if the property indicates that the input should be of one of those types.
Wisej.Web.UploadErrorEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Provides data for the Error event.
Initializes a new instance of the UploadErrorEventArgs class with the specified error message.
type
message
The error message.
fileNames
The list of files that failed to upload.
fileSizes
The list of files sizes that failed to upload.
UploadErrorType: Returns the error type.
String[]: List of file names that failed to upload.
Int64[]: List of file sizes that failed to upload.
String: Returns the error message.
Wisej.Web.Upload
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Represent an upload widget. Allows users to selected one or more files and upload them to the server.
Initializes a new instance of Upload.
String: Specify the types of files that the server accepts (that can be submitted through a file upload). (Default: ""
)
The allowed files string follows the HTML 4.01 and HTML5 specifications. You can configure only one entry in the browser's file dialog. The syntax is "file_extension|audio/|video/|image/*|media_type" where
file_extension A file extension starting with the dot, e.g: .gif, .jpg, .png, .doc.
audio/* All sound files are accepted
video/* All video files are accepted
image/* All image files are accepted
media_type A valid media type, with no parameters. Look at IANA Media Types for a complete list of standard media types.
Boolean: Returns or sets whether the upload control allows the selection of a directory for upload. (Default: False
)
Boolean: Returns or sets whether the upload control allows the selection of multiple files. (Default: False
)
ContentAlignment: Returns or sets the position of the upload button relative to the value field.. (Default: MiddleRight
)
CaptureMode: Returns or sets a value that specifies which camera to use for capture of image or video data, if the AllowedFileTypes property indicates that the input should be of one of those types. (Default: Default
)
Size:
Boolean: Returns or sets whether the value field is visible. (Default: False
)
Image: Returns or sets the icon that is displayed in the upload button in the Upload control.
ImagePropertySettings: Creates the property manager for the Icon properties on first use.
String: Returns or sets the theme name or URL for the icon to display in the upload button in the Upload control.
Boolean: Returns or sets a value that indicates that the control is invalid.
String: Returns or sets the invalid message that is shown in the invalid tooltip. (Default: ""
)
Int32: Returns or sets the maximum file size in bytes. (Default: 0
)
Throws:
ArgumentException The value specified is less than 0.
Boolean: Returns or sets whether the upload control shows a the ajax-loader image when uploading the file(s). (Default: True
)
String: Returns or sets the text associated with this control. (Default: ""
)
ContentAlignment: Returns or sets the alignment of the text on the button control. (Default: MiddleCenter
)
String: Returns or sets the text to display in the text fields part of the control. (Default: ""
)
Aborts the current upload request, if in progress.
Fires the Error event.
e
Fires the Progress event.
e
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
Fires the Uploaded event.
e
Fires the Uploading event.
e
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
Fires the ValueChanged event.
e
Processes the event from the client.
e
Event arguments.
Renders the client component.
config
Dynamic configuration object.
Opens the file selection dialog and uploads the files selected by the user.
UploadErrorEventHandler Fired when the Upload control generates an upload error.
UploadProgressEventHandler Fired while the Upload control receives the data being uploaded.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
UploadedEventHandler Fired when files are uploaded to the Upload control.
UploadingEventHandler Fired before the Upload control received the files being uploaded.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event. You can abort the uploading process by setting e.Cancel = true in the event handler.
EventHandler Fired when the user has selected the files to upload.
Provides access to the UserData
and Tag
properties associated to the component implementing this interface.
Bindable components implement this interface.
Controls that support drag & drop operations implement this interface.
Provides access to the validation events and properties property for controls that support validation.
All wisej components implement this interface.
Represents a Wisej component that is capable of handling postback requests from the client.
Allows an object to serialize itself.
Wisej.Web.UploadErrorType
Wisej.Web.UploadingEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Provides data for the Uploading event.
Initializes a new instance of the UploadingEventArgs class with the specified collection of uploaded files.
fileNames
A string array containing the named of the files being uploaded.
fileSizes
An integer array containing the sizes of the files being uploaded.
String[]: Returns an array containing the names of the files being uploaded.
Int64[]: Returns an array containing the sizes in bytes of the files being uploaded.
Wisej.Web.UploadingEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Represents the method that will handle the Uploading event of a Upload control.
sender
The source of the event.
e
A that contains the event data.
Fired before the control received the files being uploaded.
Wisej.Web.UploadProgressEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Provides data for the Progress event.
Initializes a new instance of the UploadProgressEventArgs class with the specified error message.
loaded
The number of bytes transferred. This doesn't include headers and other overhead, but only the content itself.
total
The total number of bytes of content that will be transferred. If the total size is unknown, this value is zero.
Int64: The number of bytes transferred.
Int64: The total number of bytes of content that will be transferred.
Wisej.Web.UploadedEventHandler
Wisej.Web.UploadProgressEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Represents the method that will handle the Progress event of a Upload control.
sender
The source of the event.
e
A that contains the event data.
Fired while the control receives the data being uploaded.
An instance of containing the uploaded files.
Represents the method that will handle the event of a control.
The error type, one of .
Represents the method that will handle the event of a control.
A that contains the event data.
A that contains the event data.
A that contains the event data.
A that contains the event data.
A that contains the event data.
All wisej controls derived from the class must implement this interface.
Represents the method that will handle the event of a control.
Represents the method that will handle the event of a control.