My project uses the Telerik upload file control with manager:
<telerik:RadUpload ID="RadUpload" Runat="server" MaxFileInputsCount="5" />
<telerik:RadProgressManager ID="RadProgressManager" Runat="server" />
On the client side I want to display a progress bar with jQuery UI:
<script type="text/javascript">
function GetRadUpload() { return $find("<%=RadUpload.ClientID %>"); }
function GetRadProgressManager() { return $find("<%=RadProgressManager.ClientID %>"); }
$('#upload_buttonSubmit').click(function() {
var upload = GetRadUpload();
var fileInputs = upload.getFileInputs();
var M = GetRadProgressManager();
$("#progressbar").progressbar({ value: ??? });
});
</script>
I need to get a percent complete from RadUpload
/ RadProgressManager
or get the time needed to upload the file. How can I get one of these values?
Have you taken a look at the demo , they have the progress all built in with very little code. Does the built in Progress Manager not fit your needs?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.