Rank: Member Groups: Member
Joined: 11/15/2010 Posts: 23
|
I have this code:
<eo:AJAXUploaderProgressDialog runat="server" ID="AJAXUploaderProgressDialog1" Width="250px" HeaderHtml="Subiendo..." BorderWidth="1px" BorderStyle="Solid" BorderColor="#D9D9D9" ShadowColor="#D9D9D9" RestoreButtonUrl="00070103" CloseButtonUrl="00070101" MinimizeButtonUrl="00070102" ResizeImageUrl="00020014" ControlSkinID="None" AllowResize="false" ShadowDepth="1" Height="200px" ProgressTextFormat="<p>Subiendo...{transferred} bytes de {total} bytes</p><p>({percentage}%) Hecho.</p><p>Current file: {current_file_name}</p><p>Tiempo estimado: {elapsed_seconds} segundo(s)</p><p>Tiempo restante: {estimated_remaining_seconds} segundo(s)</p>" IsModal="True"> <HeaderStyleActive CssClass="fondo_gris_oscuro_txt_gris_claro"></HeaderStyleActive> <FooterStyleActive CssClass="fondo_gris_intermedio_txt_gris_oscuro"></FooterStyleActive> <FooterTemplate><p style="text-align: center"><asp:ImageButton runat="server" ID="CancelButton" ImageUrl="~/_imagenes/_home_login/boton_cancelar.png" /></p> </FooterTemplate> <ContentStyleActive CssClass="fondo_gris_claro_txt_azul"></ContentStyleActive> <ContentTemplate> <p><eo:ProgressBar ID="ProgressBar" runat="server" ControlSkinID="Windows_XP"></eo:ProgressBar></p> <asp:PlaceHolder ID="ProgressTextPlaceHolder" runat="server">Progress Text Place Holder</asp:PlaceHolder> </ContentTemplate> </eo:AJAXUploaderProgressDialog>
I n this code the dialog show number of bytes of the uploading file, but i want that show the number of Kbytes. How can i do? Where a need to chage the [transferred] variable to show Kbytes?
Thank you and best regards
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, You will need to handle the AJAXUploader's ClientSideOnProgress, then use JavaScript to display any information based on progress information passed to you through that handler. http://doc.essentialobjects.com/library/1/eo.web.ajaxuploader.clientsideonprogress.aspxThanks!
|