I have an html tag inside a gridview:
<asp:GridView ID="GridView1" runat="server" ...etc..etc
<i class="fa fa-cloud-upload fa-lg cinza" runat="server" id="icon_Nuvem"></i>
...
When the gridview is being populated I have the event:
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
I need to change this icon_nuvem that has class cinza
to laranja
Usually when I use an image for example:
<asp:Image ID="img_Historico"
I would do so:
Image IM_Hist = (Image)e.Row.FindControl("img_Historico");
But what about a <i>
?
And even more I need something like a. toggleClass
change the gray by orange
I do not even know how to start;