Class FileUploadStartingEventArgs
Event arguments class for the FileUploadStarting event of the RadUpload.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Input.dll
Syntax
public class FileUploadStartingEventArgs : EventArgs
Constructors
FileUploadStartingEventArgs(RadUploadSelectedFile, RadUploadPostData)
Initializes a new instance of the FileUploadStartingEventArgs class.
Declaration
public FileUploadStartingEventArgs(RadUploadSelectedFile file, RadUploadPostData postData)
Parameters
RadUploadSelectedFile
file
|
RadUploadPostData
postData
|
Properties
FileParameters
Gets or sets the handler parameters specific for this file. Populate this dictionary with any custom parameters that needs to be sent for this file to the upload handler.
Declaration
public Dictionary<string, object> FileParameters { get; }
Property Value
System.Collections.Generic.Dictionary<System.String, System.Object>
The handler parameters. |
Handled
Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route.
Declaration
public bool Handled { get; set; }
Property Value
System.Boolean
|
NewFileStream
Gets the selected files.
Declaration
public Stream NewFileStream { get; set; }
Property Value
System.IO.Stream
The selected files. |
SelectedFile
Gets the file.
Declaration
public RadUploadSelectedFile SelectedFile { get; }
Property Value
RadUploadSelectedFile
The file. |
UploadData
Gets the upload data. Contains all parameters that will be send to the server handler that are not specific for this file.
Declaration
public RadUploadPostData UploadData { get; }
Property Value
RadUploadPostData
|
Remarks
Override the UploadData properties to change the file name and folder where this file will be located, only if you need to.