Welcome Guest Search | Active Topics | Sign In | Register

AJAXUploader control transmitted show in Kbytes Options
Camarate
Posted: Friday, April 8, 2011 11:54:40 AM
Rank: Advanced Member
Groups: Member

Joined: 9/2/2010
Posts: 120
Hi,

In ProgressTextFormat property of the AJAXUploader control I can show the quantity of bytes that were transmitted and the total to be transmitted. Is there any way to show these quantities in Kilo Bytes or Mega Bytes?

Another question. Can I show these quantities formatted with thousand separator?

Thanks in advance, Camarate
eo_support
Posted: Friday, April 8, 2011 5:26:23 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You can do that by formatting the text yourself. You will need to handle the uploader's ClientSideOnProgress event, inside that event you can call the uploader's client side interface to get the total bytes and bytes that have been transferred. You will then use that information to update your own UI --- note this is your own UI such as a div or span in your HTML file. It is not the uploader's built-in progress message.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.