Reputation: 12475
Is possible to set the title attibute on the image buttons of a commandfield?
<asp:CommandField ShowDeleteButton="True" ButtonType="Image" ShowEditButton="True"
DeleteImageUrl="images/BPAnn.gif" EditImageUrl="images/edit.gif" DeleteText="Elimina" EditText="Modifica"
UpdateImageUrl="images/apply.gif" CancelImageUrl="images/undo.gif" />
Upvotes: 0
Views: 2224
Reputation: 99
In case someone needs this you can do this for any command. Here it is done for the delete:
<asp:CommandField DeleteText="<i aria-hidden='true' title='Delete Role' class='glyphicon glyphicon-trash'>" ShowDeleteButton="True"/>
Upvotes: 0
Reputation: 4637
If You want Tooltip my suggestion is to convert CommandField to TemplateField.
In Template field you have more options available.
Upvotes: 0
Reputation: 4637
When you say Title do you mean HeaderText???
<asp:CommandField ShowEditButton="True" HeaderText="Testing" />
Upvotes: 0