Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Not able to upload file through drag and drop

    Hi,
    We are using Smart Gwt-4.1p (23rd May 2014)
    Browser: IE10, 11, Google Chrome:37.0.2062.124 m and Firefox

    Issue: Not able to upload file through drag and drop
    Code: TestApp.java
    Reference: Google Drive, fileUpload.png
    Description: we developed form which are having some form field. For uploading
    File we try both “FileItem” (com.smartgwt.client.widgets.form.fields.FileItem) and
    “FileUpload” (com.google.gwt.user.client.ui.FileUpload). But in both of the field we
    didn’t get any API to upload file through drag and drop.
    Please let us know if you are supporting file upload through drag and drop.
    Please share the API.

    Thanks
    Attached Files

    #2
    There's no issue populating FileItem controls via drag and drop that we can see, in any browser. You do have an old build, but we don't see a solved bug report about this either.

    Note that no event fires, but the field is populated and subsequent upload works.

    If you are looking for an event that would give you access to the HTML5 client-side File APIs, we don't provide an API for that yet and you would have to create your own HTML elements and attach event handlers directly.

    Comment

    Working...
    X