RadAsyncUpload provides a mechanism for quick and easy localization,
based on the native ASP.NET 2.0 localization. All button labels and messages in
the progress area are obtained from the resource files located in the WebSite's
App_GlobalResources directory, so that the language of the upload and progress bar
can be switched with a single property (Culture).
<telerik:RadAsyncUpload id="RadAsyncUpload1" runat="server" Culture="en-US" />
<telerik:RadProgressArea id="RadProgressArea1" runat="server" Culture="en-US" />
Developers can also localize the component for languages, which are not provided
with the RadAsyncUpload distribution by modifying the provided
resx file.
Additionally, each of the localization strings can be modified at runtime using
the Localization property. This saves the need to create a new
localization file to change a single string.
Note: Because of the specifics of the Internet forms, chosen files will be uploaded on each postback (e.g. each press of a button).
Note: The largest allowed file size for upload in this example is 50MB. This
is specified by the MaxFileSize property set in the RadAsyncUpload declaration.
If you attempt to upload a file larger than 50MB the validation will fail and the
file won't be uploaded. Also for the purpose of the demo only 6 files are allowed
to be uploaded. This is achieved using the MaxFileInputsCount
property of
the control.