[Solved] Bootstrap styles not applying to TextBox

Last Reply one year ago By kalpesh

Posted one year ago

i tried to change style of the button by adding class="btn btn-primary" but its not getting changed.

i am using boostrap.i added the following links.

 

 <%-- <link type="text/css" href="bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
	<link type="text/css" href="bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet"/>--%>
     <link href="http://twitter.github.com/bootstrap/assets/css/bootstrap-responsive.css" rel="stylesheet"/>
        <link href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css" rel="stylesheet"/>

 

<tr>
                                    <td  align="right" valign="top" >  
                                        
                                        <asp:Button ID="ButtGenerateInvoiceNumber" class="btn btn-primary" runat="server" Text="Generate Invoice" Width="120" OnClick="ButtGenerateInvoiceNumber_Click" CausesValidation="False" /></td>
                                          <td  align="left" >                                        
                                     </td>
</tr>

 

You are viewing reply posted by: kalpesh one year ago.
Posted one year ago

Try This Links.

<script type="text/javascript" src='https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.3/js/bootstrap.min.js'></script>
<link rel="stylesheet" href='https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.3/css/bootstrap.min.css'
        media="screen" />