
Arun Kumar
Top achievements
Rank 2
Arun Kumar
asked on 09 Jul 2014, 03:15 PM
Hi,
I am using the following css rule to set popup window width. I got it from support thread.
But still layout is not rendered properly. I am using bootstrap "form-control" class.
Thanks in advance.
I am using the following css rule to set popup window width. I got it from support thread.
div.k-edit-form-container {
width
:
auto
;
}
div.k-edit-form-container div.editor-field textarea, input.k-textbox {
width
:
100%
;
max-width
:
none
;
}
But still layout is not rendered properly. I am using bootstrap "form-control" class.
Thanks in advance.
7 Answers, 1 is accepted
0
Hello Arun,
You need to enforce border-box box-sizing on the Bootstrap-related HTML elements in the edit form. Please refer to our documentation:
http://docs.telerik.com/kendo-ui/getting-started/using-kendo-with/using-kendo-with-twitter-bootstrap#nesting-kendo-ui-widgets-and-bootstrap-grid-layout
Please note that if you apply border-box box-sizing styles to Kendo UI widgets, this may break their appearance.
Regards,
Dimo
Telerik
You need to enforce border-box box-sizing on the Bootstrap-related HTML elements in the edit form. Please refer to our documentation:
http://docs.telerik.com/kendo-ui/getting-started/using-kendo-with/using-kendo-with-twitter-bootstrap#nesting-kendo-ui-widgets-and-bootstrap-grid-layout
Please note that if you apply border-box box-sizing styles to Kendo UI widgets, this may break their appearance.
Regards,
Dimo
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0

Arun Kumar
Top achievements
Rank 2
answered on 16 Jul 2014, 07:31 AM
Hello Dimo,
I have added border-box box-sizing css rule. Now layout issue is gone. I face another issue of textbox width. If I add the below css style single line textbox width rendered properly but multi-line textbox width is not rendered properly.
Any help would be appreciated.
Thanks in advance.
I have added border-box box-sizing css rule. Now layout issue is gone. I face another issue of textbox width. If I add the below css style single line textbox width rendered properly but multi-line textbox width is not rendered properly.
div.k-edit-form-container .form-control {
width
:
90%
;
height
:
auto
;
}
Any help would be appreciated.
Thanks in advance.
0
Hello Arun,
This issue does not seem related to Kendo UI, but to general CSS styling. Do you manage to achieve the desired layout if the form is outside a Kendo UI Window (Grid popup edit form) ? If yes, then please provide the form HTML and all relevant CSS code.
Regards,
Dimo
Telerik
This issue does not seem related to Kendo UI, but to general CSS styling. Do you manage to achieve the desired layout if the form is outside a Kendo UI Window (Grid popup edit form) ? If yes, then please provide the form HTML and all relevant CSS code.
Regards,
Dimo
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0

Arun Kumar
Top achievements
Rank 2
answered on 16 Jul 2014, 08:30 AM
Hello Dimo,
Attached image is same layout without Kendo window. Here I am NOT using any custom css style only bootstrap and kendo styles. Only inside window I have added that border-box box-sizing css rule as per your suggestion.
Attached image is same layout without Kendo window. Here I am NOT using any custom css style only bootstrap and kendo styles. Only inside window I have added that border-box box-sizing css rule as per your suggestion.
0
Hello Arun,
Please provide a runnable example or a live URL, which outputs the form that you have shown on the screenshot and includes all relevant CSS styling. In this way I will be able to check what causes the misalignment and provide further advice.
Regards,
Dimo
Telerik
Please provide a runnable example or a live URL, which outputs the form that you have shown on the screenshot and includes all relevant CSS styling. In this way I will be able to check what causes the misalignment and provide further advice.
Regards,
Dimo
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0

Rubens
Top achievements
Rank 1
answered on 13 Apr 2016, 03:40 AM
Any news about this issue?
0
Hi Rubens,
The previously provided documentation article about nesting Kendo UI and Bootstrap layouts is still applicable:
http://docs.telerik.com/kendo-ui/third-party/using-kendo-with-twitter-bootstrap#nest-widgets-and-bootstrap-grid-layout
In case you are experiencing another issue, please provide an example for inspection.
Regards,
Dimo
Telerik
The previously provided documentation article about nesting Kendo UI and Bootstrap layouts is still applicable:
http://docs.telerik.com/kendo-ui/third-party/using-kendo-with-twitter-bootstrap#nest-widgets-and-bootstrap-grid-layout
In case you are experiencing another issue, please provide an example for inspection.
Regards,
Dimo
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items