HomeCommunityControl GalleryForm ControlsButtonsAjaxSafeUpload

AjaxSafeUpload



Submit a Review

53 Downloads

1,598 Views


Description

What is it? A control that can replace the old asp:FileUpload control (possibly without changing the code behind). What new does it offer? Complete styling of the upload button with HTML and CSS, and styling of a list of uploads with CSS. Can be localized / translated (comes with English and Danish). Property Multiple=”true” enables upload of multiple files! Property AllowedFileCategory gives different texts and upload handling for images, documents and other general files. When the image category is used the uploaded images will automatically be resized for use on the internet (that is: users can upload a 16MB jpg from their expensive digital camera, but it will be saved in much lower resolution). It can be put inside an asp:UpdatePanel and does not require full postback!!! This allows you to use the AjaxSafeUpload control on a form with validation controls – uploaded files are remembered between postbacks, so the user can correct his input without losing the uploaded file(s). Can be initialized with previously uploaded files. This allows you to use it for editing files that was uploaded earlier – users can upload and remove files from the list, without really changing anything before your program handles your own save or cancel buttons. Works with ASP.NET 3.5 and 4.0, works with Web Applications as well as the older websites model, works in web gardens/farms (note: not yet tested), works with DotNetNuke (and probably other CMS systems too), also works when the web applications is in a subdirectory, and most likely it will work with the ASP.NET websites you have programmed! March 2012: Updated to release version 1.0.0 - all planned features are now implemented.

Syntax Example

<kma:AjaxSafeUpload ID="afuPicture" runat="server" Multiple="true" AllowedFileCategory="WebAndCameraImages" />

Reviews

Submit a review