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

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -