UploaderBase.ProgressTextTemplate %T% shows "Infinity"

Last post 12-18-2008, 8:50 AM by cutechat. 3 replies.
Sort Posts: Previous Next
  •  12-16-2008, 2:36 PM 46983

    UploaderBase.ProgressTextTemplate %T% shows "Infinity"

    Hi,
     
    in the UploaderBase.ProgressTextTemplate the %T% sometimes shows "Infinity". How can this string be changed in other languages?
     
    Thanks!
  •  12-16-2008, 3:53 PM 46987 in reply to 46983

    Re: UploaderBase.ProgressTextTemplate %T% shows "Infinity"

            /// <summary>
            /// Gets or sets the progress text template.
            /// %P% = percent,%T% = seconds remain,%F% = filename. %SEND% = uploaded size , %SIZE% = file size , %KBPS% means KB/s , %KBPS% = B/s
            /// For example : %F%.. %P% %SEND%/%SIZE% , %KBPS% , %T% seconds left.
            /// </summary>
            /// <value>The progress text template.</value>
            [Description("%P% = percent,%T% = seconds remain,%F% = filename. %SEND% = uploaded size , %SIZE% = file size , %KBPS% means KB/s , %KBPS% = B/s \r\n  For example : ""%F%.. %P% %SEND%/%SIZE% , %KBPS% , %T% seconds
            public string ProgressTextTemplate

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  12-17-2008, 5:06 AM 47013 in reply to 46987

    Re: UploaderBase.ProgressTextTemplate %T% shows "Infinity"

    Thank you, but behind the parameter %T% not only numbers from 0-9 appears, sometimes also the string "Infinity" appears. I would like to change this string. How can I do this?
     
    Thanks!
  •  12-18-2008, 8:50 AM 47081 in reply to 47013

    Re: UploaderBase.ProgressTextTemplate %T% shows "Infinity"

    Hi,
    In the first seconds the timespan would become zero and the result of division would become infinity.
     
    We will fix it in next release.
     
    Regards,
    Terry
View as RSS news feed in XML