This is my asp:button code which is not rendering font awesome\'s icon but instead shows the HTML as it is:
You can't with the default asp.net button you will need to use a HTML button and give it runat=server attribute:
So use code behind with this you add:
onserverclick="functionName"
To the button, then in your C# do:
protected void functionName(object sender, EventArgs e)
{
Response.Write("Hello World!!!");
}
So final button looks like: