Tag: Bootstrap

Bootstrap compatible asp.net button

Bootstrap compatible asp.net button

Similar to my previous post, you can use the following code to create a custom asp.net button with the ‘button’ tags used in HTML5 and bootstrap. [ParseChildren] public class bsButton : Button { private string _ButtonCss = "btn btn-default"; [Browsable(true), Description("The css class"),] public string ButtonCss { get { return […]

Bootstrap compatible asp.net radio button list

Bootstrap compatible asp.net radio button list

Recently I have had the requirement to make some of my asp.net controls ‘bootstrap compatible’ In this instance it has been asp.net’s radio button list that is causing me consternation! An inline bootstrap radio button list has the mark up of this: <div class="radio"> <label class="radio-inline"> <input type="radio" value="Ac" name="optArchive" […]