Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Grid View
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Image and Data Browsing
  [Expand]Docking and Popups
  [Expand]Site Navigation and Layout
  [Collapse]File Management
   [Expand]Product Information
   [Expand]File Manager
   [Collapse]File Upload
     ASPxUploadControl Overview
    [Expand]Concepts (ASPxUploadControl)
    [Expand]Visual Elements
  [Expand]Multi-Use Site Controls
  [Expand]Scheduler
  [Expand]HTML Editor
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Gauges
  [Expand]Data Editors
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

ASPxUploadControl Overview

The ASPxUploadControl is a useful tool, which can be used in a web application for saving client files to the server via the browser. It offers a number of advanced features such as uploading files via AJAX callbacks, built-in validation of the uploaded file against the specified criteria (for instance, the file's size, extension and mime types), an enhanced client-side API and others.

This topic lists the features that are unique to the ASPxUploadControl.

Expanded Control Features

  • Upload of the specified client file is initiated automatically on the nearest occurring postback.
  • File upload initiated by the Upload button or the ASPxClientUploadControl.Upload client method is performed using the AJAX callback technology, which improves the web application's performance.
  • The control can work in either of two upload modes provided (Standard or Advanced). In the Standard Mode, the uploaded file is sent to the server in one request and is cached in its entirety in server memory. In the Advanced Mode, the uploaded file is sent to the server in small packets (one by one) and is saved into a temporary file within a specific server folder. See Upload Modes to learn more.
  • The uploaded file can be automatically validated on the server, based upon a number of settings defined via the ASPxUploadControl.ValidationSettings property. If the validation fails, a descriptive error message is displayed within the ASPxUploadControl's error form, informing an end-user about the reason for the error.
  • Developers are able to implement any custom validation logic and save the uploaded file, if it's valid, by handling a single ASPxUploadControl.FilesUploadComplete server event.
  • Efficient facilities are provided to access the uploaded file's content and save the file to a specific location on the server. Assigning a random file name to the uploaded file is allowed, to prevent overwriting the existing file.
  • The control's appearance can be customized via specific style properties, or by assigning a CSS class.
  • The client-side API allows you to initiate the file upload to the server, operate the control's visibility on the client and obtain information about text within the edit box.
  • You can use client-side events to perform custom actions when file upload is initiated, completed, and when end-users add, delete or edit text within the control's edit box.
  • You can use the multi-uploading mode to upload several files at once. Specific Add and Delete buttons are introduced to modify the number of file input elements.
  • The Progress panel displays upload progress in real-time. A specific Cancel button can be used to stop uploading.

How would you rate this topic?​​​​​​​