我开发了一个使用ASP.NET Telerik控件和组件的网站。它在移动设备上无法正常工作(定位,屏幕分辨率)很好(跨分辨率缩放)。Bootstrap与ASP.NET Telerik控件兼容吗?
我决定将bootstrap集成到我的网站中,但引导响应式样式不会调整我所需要的。
有没有人试过用asp.net Telerik组件引导?都兼容?
任何建议/正确的指导?
我开发了一个使用ASP.NET Telerik控件和组件的网站。它在移动设备上无法正常工作(定位,屏幕分辨率)很好(跨分辨率缩放)。Bootstrap与ASP.NET Telerik控件兼容吗?
我决定将bootstrap集成到我的网站中,但引导响应式样式不会调整我所需要的。
有没有人试过用asp.net Telerik组件引导?都兼容?
任何建议/正确的指导?
一些框架如Bootstrap和Telerik之间存在不兼容性。主要的问题是不同的框架使用CSS样式名称,如果两个不同的框架使用相同的名称,将会有冲突。我注意到最新版本的Bootstrap(3.0)和Telerik的最新版本,在某些Telerik控件中,复选框格式被Bootstrap覆盖。不幸的是,修复非常棘手,您需要对其进行定制,以免根本不使用框架。
链接显示的是,当我用引导
It depends on what you're trying to accomplish. In general, bootstrap
2.0 is a lot easier to work with along with Telerik because they style less of the default elements, like . In 2.0, they require you to add some class to a element, which means that they don't try to style a Telerik grid, for example. This makes it look better.
What you won't get is a "Bootstrap themed" version of the Telerik controls. Continuing with the Telerik grid example, if you use that in conjunction with Bootstrap it will look like a Telerik grid, not a Bootstrap table, with it's nice pager buttons, etc. That will take a lot of work to change, and I don't recommend it. Telerik emits html with its own CSS class names and mapping that back to Bootstrap would be a chore. I've found, actually, that with Bootstrap I use a lot less of Telerik than I did before, and just use more straight html + Bootstrap.
If you do decide to integrate Telerik in your site, I recommend the Telerik "Simple" theme, which seems to match Bootstrap's default colors best.
Telerik现在有Bootstrap皮肤,所以它可以帮助进行这种整合。 – rdmptn
RadImageEditor图标被隐藏。
所以我必须说它不是100%兼容。
你可以请分享如何重现隐藏的图标问题?我试图用最新的2014年第二季度版Telerik.Web.UI重现它,但无济于事。这是测试:http://screencast.com/t/GekspoZMDFo –
如果您需要引导以使您的页面响应,您可以使用RadPageLayout:http://www.telerik.com/products/aspnet-ajax/responsive-page-layout.aspx。因此,你可以放弃Bootstrap。这里是它的文档:http://www.telerik.bg/help/aspnet-ajax/page-layout-overview.html。如果您使用它提供的某种样式,RadFormDecorator可能会帮助您设置样式:http://demos.telerik.com/aspnet-ajax/formdecorator/examples/overview/defaultcs.aspx。
是的,我最近使用Bootstrap和Telerik ASP.NET Ajax版本2015年第二季度和.NET Framework 4.5.1构建ASP.NET 2013 Web应用程序。 在我的本项目的实施,我有一个问题: •一个问题是,当我使用RadAjaxManager,我得到这个错误:
Controls集合不能修改,因为该控件包含代码块(即<% ...%>)。
•要解决这个问题,我用控件包装了代码部分。
这不是关于名称的问题,而是全局元素选择器引导程序使用的问题,它们可能会弄乱任何布局或控件/控件。 – rdmptn
@rdmptn你可以用bootstrap作为前缀来帮忙。 –