Project Description
Wrapping Twitter Bootstrap front-end framework in a Asp.net MVC toolkit to make it easier for MVC developer to use Twitter Bootstrap

If you are interested in using Twitter Bootstrap Front-End Framework in you MVC project, you can use this framework. For example, if you like to generate a DropDownButton you will be able to use following code in your razor view:

@{

	Html.Bop().DropDownButton()
                  .Text("My DropDown")
                  .Split()
                  .Skin(Skins.Primary)
                  .Items(item =>
                  {
                    item.Add().Text("Asp.net").Url("http://www.asp.net");
                    item.Add().Text("Asp.net MVC").Url("http://www.asp.net/mvc");
                    item.Add().Divider();
                    item.Add().Text("Microsoft").Url("http://www.microsoft.com")
                     .ClientEvents(e => e.Add().Register(EventNames.OnClick, "clickMe();"));;
                  })
               .Render();
    }

 

The rsult will be the following element on you page

Please download the source code, run it and find more example and details there. I am going to give a introduction in my blog  asap.

Anybody is welcome if interested in this project

Last edited Jan 29, 2013 at 12:40 AM by alit, version 9