ClassUploadEventArgs
Class
Provides event data for upload and remove events. Use to customize request headers, add extra data, or cancel the operation. Used in OnUpload and OnRemove.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
cs-api-definition
public class UploadEventArgs : UploadCancelableEventArgs
Inheritance: objectUploadEventArgsBaseUploadCancelableEventArgsUploadEventArgs
Inherited Members
Constructors
UploadEventArgs()
Declaration
cs-api-definition
public UploadEventArgs()
Properties
RequestData
Additional data to send with the upload or remove request. Example: RequestData["UserId"] = 123
.
Declaration
cs-api-definition
public Dictionary<string, object> RequestData { get; set; }
Property Value
RequestHeaders
Custom headers to send with the upload or remove request. Example: add authentication token: RequestHeaders["Authorization"] = "Bearer ..."
.
Declaration
cs-api-definition
public Dictionary<string, object> RequestHeaders { get; set; }
Property Value