How to make the Kendo Upload controle use span instead of div so i can use it in the toolbar of a grid without the extra line break?

2 posts, 0 answers
  1. Logan
    Logan avatar
    48 posts
    Member since:
    Apr 2013

    Posted 24 Jul 2013 Link to this post

    I have a kendo grid that that uses a ClientDetailTemplate to display a second sub-grid.  The sub-grid has a variety of commands that are in the toolbar, including a Kendo Upload control.  

    The problem is that the Kendo control is surrounded in a div, so it breaks the single line appearance of my toolbar.  Is there any way to change the Upload control so that it can be used inline with other controls?

  2. Dimiter Madjarov
    Dimiter Madjarov avatar
    2277 posts

    Posted 26 Jul 2013 Link to this post

    Hi Logan,

    To align the Upload widget with the other elements, you could set it's display property to inline-block.
    .k-toolbar .k-upload
        display: inline-block;

    Please let me know if this was the information that you were looking for. I wish you a great day!


    Dimiter Madjarov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top