Reputation: 904
I am trying to figure out how to use the bootstrap icons as buttons with CommandNames in a GridTemplateColumn or a GridButtonColumn.
<telerik:GridTemplateColumn UniqueName="Commands">
<ItemTemplate>
<asp:Button ID="btnDelete" CssClass="glyphicon glyphicon-remove-sign" runat="server" />
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridButtonColumn ButtonCssClass="glyphicon glyphicon-minus-sign" />
At the very least I am trying to make a bootstrap icon act as a button but not look like a button, just the icon.
Upvotes: 1
Views: 1807
Reputation: 2108
change the asp:Button
for a asp:LinkButton
<ItemTemplate>
<asp:LinkButton ID="btnDelete" runat="server" CssClass="glyphicon-remove-sign"/>
</ItemTemplate>
Upvotes: 1