Welcome Guest Search | Active Topics | Sign In | Register

How to put an icon in EditCommandColumn of Grid control? Options
Jack.Wu
Posted: Saturday, March 27, 2010 12:06:34 AM
Rank: Advanced Member
Groups: Member

Joined: 5/22/2009
Posts: 33
Hello Sir,

I want to put icon in the EditCommandColumn and Grid Column. Is there any example to show how to do it?

I found a similar effect in FileUploader control but I can not find where can I put an icon in the column header area or EditCommandColumn. Please help to show me how to do it. Thanks.
eo_support
Posted: Saturday, March 27, 2010 7:42:19 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You would change the EditCommandColumn's EditText, UpdateText or CancelText to raw HTML that contains an image tag. For example:

Code: HTML/ASPX
<img src="your_edit_icon.gif" />


Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.