asp.net - Twitter Bootstrap Buttons - Server Side code -
i want use twitter bootstrap button , add button click event in asp.net / vb.net in code behind. difference between twitter button is html input , asp:button different. how target twitter bootstrap button in code behind?
<button class="btn btn-large btn-primary" type="button">add bookshelf</button></p>
use cssclass property
sample
button mybutton= new button(); mybutton.text = "first"; mybutton.cssclass = "btn btn-large btn-primary"; this.form1.controls.add(mybutton);
now button became bootstrap button :p
Comments
Post a Comment