Enable clipboard paste upload with EnablePaste="true". Users can
paste images from the clipboard (Ctrl+V / Cmd+V) directly into the upload area.
Ideal for screenshots, copied images, and quick image sharing workflows.
Drag & drop files here, or paste from clipboard
Try it: Copy an image to your clipboard (e.g., take a screenshot
with Print Screen), then click in this area and press Ctrl+V
to paste and upload it.
<%-- Server control with paste enabled --%>
<au:AjaxFileUpload ID="Uploader1" runat="server"
EnablePaste="true"
AutoUpload="true"
ShowProgress="true"
AllowedExtensions="jpg,jpeg,png,gif,webp,bmp"
ButtonText="Browse or Paste (Ctrl+V)" />
<%-- JavaScript API equivalent --%>
AjaxUploader.create(el, {
uploadUrl: '/ajaxupload.axd/upload',
paste: true,
autoUpload: true,
allowedExtensions: ['jpg','jpeg','png','gif','webp','bmp'],
onComplete: function (file) {
console.log('Pasted/uploaded: ' + file.name);
}
});