restyle upload control

6 posts, 0 answers
  1. Wit
    Wit avatar
    43 posts
    Member since:
    Aug 2014

    Posted 12 Dec 2014 Link to this post

    At the moment upload control displays as 'Select files..' grey button.
    1)How could I change it to show as icon only lets say 100px by 100px ?  
    2)How could I change it to show as div with some text?
  2. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2153 posts

    Posted 12 Dec 2014 Link to this post

    Hello Witek,


    Such custom modifications are not supported out of the box by the Upload widget and we cannot provide technical assistance regarding them.

    If you have any specific questions about the Upload widget functionality, do not hesitate to contact us.

    Regards,
    Dimiter Madjarov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. Wit
    Wit avatar
    43 posts
    Member since:
    Aug 2014

    Posted 12 Dec 2014 in reply to Dimiter Madjarov Link to this post

    Thank you for a quick reply. Just to clarify: am I stuck with grey button and 'select files..' text then? There is no possibility for  customisation and different text? I have black header with white icons and your button just doesn't look right. I can't believe that there is nothing we could do about that? If it is not supported can you provide me with some hack to do it ?  I am using angularjs if that makes any difference.
  5. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2153 posts

    Posted 12 Dec 2014 Link to this post

    Hello Witek,


    You could use the localization.select configuration option to configure the text of the select button. As for the styling, you could try another Kendo UI theme or use the Kendo UI ThemeBuilder and build a custom one that matches the requirements.

    Regards,
    Dimiter Madjarov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  6. Wit
    Wit avatar
    43 posts
    Member since:
    Aug 2014

    Posted 12 Dec 2014 in reply to Dimiter Madjarov Link to this post

    Would it be possible to keep upload button hidden and trigger it by click on some div with icon?
  7. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2153 posts

    Posted 15 Dec 2014 Link to this post

    Hello Witek,


    This requirement cannot be achieved due to browsers security reasons related to <input type="file" /> elements.

    Regards,
    Dimiter Madjarov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top
Kendo UI is VS 2017 Ready