This is a migrated thread and some comments may be shown as answers.

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?

1 Answer 134 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Logan
Top achievements
Rank 1
Veteran
Logan asked on 24 Jul 2013, 03:42 PM
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?

Thanks,
~Logan

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 26 Jul 2013, 07:09 AM
Hi Logan,


To align the Upload widget with the other elements, you could set it's display property to inline-block.
E.g.
.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!

 

Regards,
Dimiter Madjarov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Logan
Top achievements
Rank 1
Veteran
Answers by
Dimiter Madjarov
Telerik team
Share this question
or