Upgrading to UI for ASP.NET AJAX Q2 2015 (2015.2.729.45) sets requestLimits maxAllowedContentLength in web.config to <requestLimits maxAllowedContentLength="0" /> <!--8MB Max upload--> resulting in errors like "PRM_ServerError" on postbacks.
We would like the ability to perform drag and drop upload when using the Silverlight module. We have found and have much support from forums and posts that the FileApi module does not work with environments with Windows Authentication and IE 11. This is due to a know IE bug that is not going to be fixed. http://www.telerik.com/forums/telerik-async-upload-fails-in-ie11-on-load-balancer http://www.telerik.com/forums/radasyncupload-freezes http://www.telerik.com/forums/ie11-freezes-when-is-used-async-upload Although I can disable the FileApi, doing so prevents us from using the much loved drag and drop.
Hello,
I have a problem with postback on RadAsyncUpload in my project.
So, I created a simple project, with your example (https://docs.telerik.com/devtools/aspnet-ajax/controls/asyncupload/how-to/how-to-persist-uploaded-files) and the problem remains.
if I define PostbackTriggers on the aspx page, after the post back, I can see the files uploaded on the page, but the UploadedFiles.Count in code behind returns zero.
<telerik:RadAsyncUpload runat="server" ID="RadAsyncUpload1" PostbackTriggers="Button3,Button4"></telerik:RadAsyncUpload>
if I define PostbackTriggers on the aspx.vb page, after the post back I can't see the files uploaded on the page, but the UploadedFiles.Count in code behind returns 1.
RadAsyncUpload1.PostbackTriggers = New String() {Button1.ClientID, Button2.ClientID}
So, there is no way to, after the postback, present the uploaded files in page and values in RadAsyncUpload.UploadedFiles.
Please, check the attach files.
Best Regards,
Mauro Santos
I would be nice to gain more control over radasyncupload's upload behavior when using database as storage for uploaded files. Consider this use case. You have file management web-app that uses SQL database as storage for uploaded files. In SQL database you use Filestream enabled table to store the uploaded file data. You like to allow your app users to upload multiple big files > 100 Mt at once. And you have limited disc space on your web server hosting your app. So you don't want to buffer those uploaded files on your web server in any point of the upload process. To be able to do so radasyncupload needs to be able to stream uploaded files to the SQL database as straight as possible. Chunk by chunk. radasyncupload already has feature that allows you to use your own generic handler to handle some of the upload process. It just needs expose some of those events that happens before process-event (maybe ProcessRequest?). So developer can start handling the HttpPostedFile's InputStream at the begining of the upload and stream it directly to the database. Like one can do with the regular upload controls like so: Public Sub ProcessRequest(ByVal context As HttpContext) Implements IHttpHandler.ProcessRequest Dim hpf As HttpPostedFile For i = 0 To context.Request.Files.Count - 1 hpf = context.Request.Files.Item(i) ... Using Command As SqlCommand = New SqlCommand(String.Concat("INSERT INTO Dokuments(DokumData...) values (@DokumData...)"), connection) 'Other params Command.Parameters.Add("@DokumData", SqlDbType.Binary, -1).Value = hpf.InputStream connection.Open() Command.ExecuteScalar() connection.Close() Next End Sub
Hi guys,
I can see async.concurrent feature in kendo ui upload control, do we have this feature or can have it in ajax upload control ?
https://docs.telerik.com/kendo-ui/api/javascript/ui/upload/configuration/async.concurrent
Currently the AsyncUpload saves the chunks in the Temporary folder using the original name of the file, the Process method of the Custom handler. When the Temporary folder name is very long, it can hit the Windows path length limitation of 260 symbols.
Why not add a "basic mode" to radasyncupload? that saves the selected file(s) in the target folder as soon as the upload is complete without the need for an extra postback? Or facilitate a postback through a popup "upload complete" with an ok button? And a little feedback in general on the documentation nearly all the examples have all the bells and whistles active, which makes them hard to read for programmers with little experience like me. Why not have every control with a absolutely minimalistic example that only shows the core functionality?
This issue is observed only in R1 2020. The solution is to not disable the FileAPI.
Reproduction steps:
<script>
Telerik.Web.UI.RadAsyncUpload.Modules.FileApi.isAvailable = function () { return false; };
Telerik.Web.UI.RadAsyncUpload.Modules.Flash.isAvailable = function () { return false; };
Telerik.Web.UI.RadAsyncUpload.Modules.Silverlight.isAvailable = function () { return false; };
</script>
<telerik:RadAsyncUpload runat="server" ID="RadAsyncUpload1" ></telerik:RadAsyncUpload>
Documentation says Firefox should be ok with LastModifiedDate, but it's not. It's consistently being set to 1/1/0001 12:00:00 AM, which is not useful.
Happens in any RadAsyncUpload example if you look at the value for LastModifiedDate in the AsyncUploadedFile objects.
Works fine in Chrome, Edge. Fails in Firefox for Mac or Windows.
<telerik:RadAsyncUpload ID="UploadFile" runat="server" MultipleFileSelection="Automatic"
OverwriteExistingFiles="true" ReadOnlyFileInputs="true" InputSize="45" EnableViewState="true" TargetFolder="~/UploadedFiles">
</telerik:RadAsyncUpload>
Steps to reproduce:
We have created a KB article where a possible approach to achieve image resizing before the upload is suggested. You can find it at https://www.telerik.com/support/kb/aspnet-ajax/upload-(async)/details/resize-images-client-side-with-html5-before-uploading-with-radasyncupload The article describes a straightforward way on how to change the uploaded image dimensions. You can further improve and modify the logic in the _uploadFile function to allow the user to define the new dimensions or use a tool to allow the users to modify the image.
The drop zone and the custom drop zones are shifted below their expected positions in Edge 40. Check the following video demonstration https://www.screencast.com/t/2m8SxR8jbwb. The problem is reproducible in the http://demos.telerik.com/aspnet-ajax/asyncupload/examples/draganddrop/defaultcs.aspx demo.
Workaround: function encodeRowContent() { var asyncUpload = $find('<%= RadAsync_FileUpload.ClientID%>'); var $ = $telerik.$; asyncUpload._updateRowContent = function (row, inputValue) { var $progress, $content = $("<span class='ruUploadProgress'>" + $telerik.htmlEncode(this._getFileName(inputValue)) + "</span>"); $(row).removeClass("ruSelectWrap") .addClass("ruFileLI ruUploading") .prepend("<span class='radIcon'></span>"); if (this._isManualUpload()) $content.addClass("ruUploadOnHold"); if (this._enableInlineProgress) { $progress = $('<span class="ruFileProgressWrap"><span class="ruFileProgress"></span></span>'); $content.append($progress); } $('.ruFakeInput, .ruBrowse', row).remove(); $(".ruFileWrap", row).append($content); // Replace fake input } } Sys.Application.add_load(encodeRowContent);
We would like to upload a folder's structure and content via asyncupload drag and drop functionality. This functionality exists with Chrome and FireFox now. Please add. Thanks.
Workaround - Toggle drop zone visibility or enable/disable it, using AsyncUpload OnClientFileUploaded and OnClientFileUploadRemoved events: <div class="dropfile" style="height: 20px; width: 120px; background-color: red; display: block"> </div> <telerik:RadAsyncUpload ID="fimFileImport" runat="server" DropZones=".dropfile" MaxFileInputsCount="1" RenderMode="Lightweight" OnClientFileUploaded="OnClientFileUploaded" OnClientFileUploadRemoved="OnClientFileUploadRemoved" > </telerik:RadAsyncUpload> <script type="text/javascript"> function OnClientFileUploaded(sender, args) { var maxFileCount = sender.get_maxFileCount(); var uploadedFilesLength = sender.getUploadedFiles().length; if (maxFileCount === uploadedFilesLength) { $telerik.$('.dropfile').hide(); } } function OnClientFileUploadRemoved(sender, args) { var maxFileCount = sender.get_maxFileCount(); var uploadedFilesLength = sender.getUploadedFiles().length; if (maxFileCount > uploadedFilesLength) { $telerik.$('.dropfile').show(); } } </script>
Hi, When we upload files using RadAsyncUpload control, will get the uploaded file along with the two images. 1. check image 2. cross image (to delete the uploaded file) my question is can we overwrite these images in our application.
Hi Telerik Team, is it possible to implement the feature into the uploadmodule control , that you can open the uploaded files per Double-Click. We want to use the control to create offers and we want to give the users the option to upload files - that works wonderful. But the following editors of the offers don`t have the chance to open the "attached" files. Thank you very much. Best Regards, Jan Brandenburger