twitter-bootstrap ASP.NET 网络表单的引导程序

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/15693253/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-21 16:46:20  来源:igfitidea点击:

Bootstrap for ASP.NET webform

asp.nettwitter-bootstrapwebforms

提问by MEHash

i am trying to learn twitter bootstrap on ASP webforms, can anyone tell me how to apply bootstrap on menu control that loads from sitemap data source. I will appreciate if there is any tutorial link available for webform specifically. Thanks

我正在尝试在 ASP 网络表单上学习 twitter 引导程序,谁能告诉我如何在从站点地图数据源加载的菜单控件上应用引导程序。如果有任何专门用于网络表单的教程链接,我将不胜感激。谢谢

回答by Ringo

This tutorial is good:

这个教程很好:

http://geekswithblogs.net/JeremyMorgan/archive/2012/09/18/how-to-use-twitter-bootstrap-on-an-asp.net-website.aspx

http://geekswithblogs.net/JeremyMorgan/archive/2012/09/18/how-to-use-twitter-bootstrap-on-an-asp.net-website.aspx

It's a pretty general question you have, but basically you want to assign a DOM ID to your web controls, and the javascript is going to look pretty much the same as you would find in the Twitter Bootstrap examples.

这是一个非常普遍的问题,但基本上您想为您的 Web 控件分配一个 DOM ID,并且 javascript 看起来与您在 Twitter Bootstrap 示例中找到的几乎相同。