简体   繁体   English

使kendo ui窗口响应的问题

[英]issue in making kendo ui window responsive

i am working on kendo ui controls in asp.net mvc4. 我正在使用asp.net mvc4中的kendo ui控件。 i have an issue to make kendo ui window responsive. 我有一个问题,使kendo ui窗口响应。 Is there any way to make it responsive,i google it but not find any specific solution.any help will be appreciated. 有没有办法让它响应,我谷歌但没有找到任何具体的解决方案。任何帮助将不胜感激。

You can set the Window's width and height in percent and then the widget will resize, depending on the browser window's size (but only until the user resizes the Window manually). 您可以设置窗口的宽度和高度百分比,然后窗口小部件将调整大小,具体取决于浏览器窗口的大小(但只有在用户手动调整窗口大小之后)。 Alternatively, use the browser's window.resize event to set a new Window dimensions with the setOptions method. 或者,使用浏览器的window.resize事件使用setOptions方法设置新的Window维度。

http://docs.telerik.com/kendo-ui/api/javascript/ui/window#configuration-width http://docs.telerik.com/kendo-ui/api/javascript/ui/window#configuration-width

http://docs.telerik.com/kendo-ui/api/javascript/ui/window#methods-setOptions http://docs.telerik.com/kendo-ui/api/javascript/ui/window#methods-setOptions

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM