Wisej.Web.OpenFileDialog
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Prompts the user to open a file from the server.
You can:
Override . It's called when the specified file doesn't exist and the property is true.
Override to create your custom when the method is called.
Set the to a class that has a constructor that accepts as the single argument to change the User Interface (UI) of the file dialog.
You must add at least one to the collection before showing the dialog.
Initializes a new instance of .
Initializes a new instance of the extender with a specified container.
: Returns or sets a value indicating whether the dialog box displays a warning if the user specifies a file name that does not exist.
: Returns or sets a value indicating whether the dialog box allows multiple files to be selected.
: Returns the file name and extension for the file selected in the dialog box. The file name does not include the path.
: Returns an array of file names and extensions for all the selected files in the dialog box. The file names do not include the path.
Opens the file selected by the user, with read-only permission. The file is specified by the property.
Returns: . A that specifies the read-only file selected by the user.
Throws:
is empty or null.
Resets all properties to their default values.
Override OnFileOk to provide your custom implementation of the actions to execute when the user presses the OK button.
container
An IContainer that represents the container of the OpenFileDialog component.
Public Class OpenFileDialog
Inherits FileDialogpublic class OpenFileDialog : FileDialog