Progress Template Line Break

Last post 12-01-2009, 12:08 AM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  11-27-2009, 7:02 PM 57469

    Progress Template Line Break

    Hi, the documentation states that 
 inserts a line break in the progress template, but...
     
    u.ProgressTextTemplate = "Uploading %F%. %SEND% of %SIZE% 
 %KBPS%; %T% seconds remaining."
     
    ...didn't insert a line break.  Any other changes seem to work, though.  How do I implement the line break?
  •  12-01-2009, 12:08 AM 57514 in reply to 57469

    Re: Progress Template Line Break

    Hi swabygw,
     
    If you set this properties in code behind, need use \r\n, like
     
    UploadAttachments1.ProgressTextTemplate = "line1 \r\n line2";
     
    If you set this properties in the control, need use 
, like below
     
    <CuteWebUI:UploadAttachments runat="server" ID="UploadAttachments1" InsertButtonID="BrowseButton"
                ProgressTextTemplate="line1 &#13;&#10; line2">
            </CuteWebUI:UploadAttachments>
     
    Regards,
     
    ken
View as RSS news feed in XML