Dropzone Only

2 posts, 0 answers
  1. Tim
    Tim avatar
    20 posts
    Member since:
    Oct 2015

    Posted 05 Apr 2018 Link to this post

    Is it possible to only have the dropzone visible and hide the "choose file" button?
  2. Dimitar
    Admin
    Dimitar avatar
    487 posts

    Posted 06 Apr 2018 Link to this post

    Hello Tim,

    Yes, this is possible. In case of a Custom Drop Zone scenario, the whole Upload widget may be hidden by applying CSS style "display: none;" to it - screenshot:

    html body .k-widget.k-upload {
        display: none;
    }

    And in case of an Asynchronous Upload, "Select files..." button may be hidden by applying "display: none;" to it as well. And in order to preserve the height of the dropzone after that, a style for setting its height should be applied - sample Dojo based on the demo.

    Regards,
    Dimitar
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top