This is a migrated thread and some comments may be shown as answers.

Simple: Icons insteadd of text for utogenerated Edit/Update/Delete Columns

3 Answers 76 Views
Grid
This is a migrated thread and some comments may be shown as answers.
DoomerDGR8
Top achievements
Rank 2
Iron
Iron
Iron
DoomerDGR8 asked on 14 Nov 2010, 04:15 PM
Hello guys,

I need a quick help regarding a situation where I have a RadGrid bound to a LinqDataSource and both have the Automatic CRUD enabled on them. The Grid renders and perform just as expected but instead of seeing icons for Update and delete, I'm seeing text. I want to have icons only. Kindly help!

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 15 Nov 2010, 06:24 AM
Hello Hassan,

You can refer the following forum post which describes the same scenario.

Replacing text of autogenerated add/update/delete/edit buttons with an icon
how to change edit and delete into icon

Thanks,
Princy.
0
DoomerDGR8
Top achievements
Rank 2
Iron
Iron
Iron
answered on 15 Nov 2010, 12:00 PM
Dear Princy,

Thanks for your reply. I can do good with that referal. I was however pretty sure thta the Office2007 skin I use comes along with a default bunch of nice icons. I wanted to use them. In short, I don't want to code anything. I just want to setup an attribute like ButtonType="Image" (example).
0
Tsvetina
Telerik team
answered on 18 Nov 2010, 01:13 PM
Hi Hassan,

Since these are different types of controls (LinkButton and ImageButton) you cannot replace one with the other in an auto-generated edit form without using some code to do so. The code which Princy provided is quite simple and straight-forward, so it should not be a problem to use it in your application.

Kind regards,
Tsvetina
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Grid
Asked by
DoomerDGR8
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Princy
Top achievements
Rank 2
DoomerDGR8
Top achievements
Rank 2
Iron
Iron
Iron
Tsvetina
Telerik team
Share this question
or