how to use bootsrap icon on asp.net button

sarhan

New Member
hello friends i want to use Bootstrap like icons with button but when i try using it in my asp.net project the image doesnt shows can you please tell me how to use bootstrap icon with buttons i have tried this code\[code\]<i class="icon icon-ok"><asp:Button ID="SubmitBtn" runat="server" OnClick="SubmitBtn_Click" Text="Submit" CssClass="btn btn-small btn-primary" /></i>\[/code\]and this one too \[code\]<asp:Button ID="SubmitBtn" runat="server" OnClick="SubmitBtn_Click" Text="Submit" CssClass="btn btn-small btn-primary" ><i class="icon icon-ok"></i> </asp:Button>\[/code\]also i tried using this \[code\]<asp:Button ID="SubmitBtn" runat="server" OnClick="SubmitBtn_Click" Text="Submit&nbsp;<i aria-hidden=true class=icon-ok icon-white></i>" CssClass="btn btn-small btn-primary" />\[/code\]but it dont work please someone post a solution how to make it work ???
 
Back
Top