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

How to change upload layout

4 Answers 113 Views
Upload
This is a migrated thread and some comments may be shown as answers.
bin
Top achievements
Rank 1
bin asked on 14 May 2013, 03:25 AM
Hi kendo team,

I have some problems,I want to change the kendoUpload layout at one line,but can not.can you give me some advice?

Regards,
Bin

4 Answers, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 14 May 2013, 10:57 AM
Hi Bin,


If you are referring to positioning the submit button side by side with the select button (i.e. the following demo), then you should add it dynamically to the page via JavaScript, because the Upload widget is generating a div tag and the input cannot be positioned there only with CSS.
E.g.
$(document).ready(function () {
    $(".k-button.k-upload-button").after('<input type="submit" value="Submit" class="k-button" />');
});

I hope this was the information that you were looking for.

 

All the best,
Dimiter Madjarov
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
bin
Top achievements
Rank 1
answered on 15 May 2013, 02:52 AM
Hi Dimiter Madjarov,

thanks for your reply,I want to change upload by default layout,like the picture.can you give me some advice?

thanks.

Best Regards,
Bin
0
Dimiter Madjarov
Telerik team
answered on 15 May 2013, 06:51 AM
Hi Bin,


The following layout is not supported out of the box. Nevertheless you could manually specify some custom CSS styles and float the Upload widget elements in order to achieve it. Here is a JS Bin example, which demonstrates this.

Wish you a great day! 

All the best,
Dimiter Madjarov
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
bin
Top achievements
Rank 1
answered on 16 May 2013, 03:01 AM
Hi Dimiter Madjarov,

thanks for you reply,the problem has been resolved.

thanks very much.

Best Regards,
Bin
Tags
Upload
Asked by
bin
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
bin
Top achievements
Rank 1
Share this question
or