[CLOSED] MultiUpload can't add uploaded file's path to the htmleditor

  1. #1

    [CLOSED] MultiUpload can't add uploaded file's path to the htmleditor

    after files uploaded, i want to add the files to the htmleditor , but not work. if use FileUploadField, it works fine,please view my test code:
    Last edited by Daniil; Oct 11, 2013 at 4:37 AM. Reason: [CLOSED]
  2. #2
    Hi @hdsoso,

    Thank you for the report. We are investigating.
  3. #3
    It has been fixed in the SVN trunk.
  4. #4
    the only last uploaded file show in editor
    he_cont.SetValue(he_cont.Text + img);
    the first run, he_cont.Text contains img's path, but ,the second pic upload, the he_cont.Text dose not contains the last img's path,
    and another question, buttonText can set to other language, the default is "Browse..."?
  5. #5
    Got it.

    An uploading request is a FLASH request. It doesn't submit the fields, including he_cont.Text.

    Please try the following:
    <script>
        Ext.form.field.HtmlEditor.override({
            append : function (v) {
                this.setValue([this.getValue(), v].join(''));
            }
        });
    </script>
    and
    he_cont.Call("append", img);
    instead of a SetValue call.
  6. #6
    Quote Originally Posted by hdsoso View Post
    and another question, buttonText can set to other language, the default is "Browse..."?
    Please use:
    <ext:MultiUpload runat="server">
        <Button>
            <ext:Button runat="server" Text="My Browse Text" />
        </Button>
    </ext:MultiUpload>
    P.S. It is better to keep the only topic per thread.

Similar Threads

  1. Replies: 8
    Last Post: Jun 10, 2013, 1:06 PM
  2. Replies: 1
    Last Post: Dec 06, 2012, 5:27 AM
  3. How to access/read from uploaded file
    By KBorkiewicz in forum 2.x Help
    Replies: 3
    Last Post: Nov 21, 2012, 4:32 PM
  4. File uploader with the list of uploaded files
    By AlexMaslakov in forum 1.x Help
    Replies: 0
    Last Post: Aug 11, 2011, 11:56 AM
  5. [CLOSED] How to clear the uploaded file from fileuploadfield
    By Pablo_Azevedo in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Feb 21, 2011, 6:52 PM

Posting Permissions