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

Need to access Telerik images for Pencil (Edit), Trash ( Delete)

3 Answers 223 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Manikanta Kiran
Top achievements
Rank 1
Manikanta Kiran asked on 18 Jan 2010, 05:17 PM
Hi

I'm using template columns in rad grid. I would like to use the pencil & trash images that u guys provide for the default GridEditColumns.
I think the images are packaged in the DLL, is there a way to access them ?

Please let me know.

Thanks
Kiran

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 19 Jan 2010, 05:37 AM
Hello Manikanta,

You can simply set the ButtonType property of the column as ImageButton in order to show the images for Edit and Delete as shown below.

ASPX:
 
    <telerik:GridEditCommandColumn ButtonType="ImageButton"
    </telerik:GridEditCommandColumn> 
 
    <telerik:GridButtonColumn ButtonType="ImageButton" CommandName="Delete"
    </telerik:GridButtonColumn> 

-Shinu.
0
Accepted
Shaun Peet
Top achievements
Rank 2
answered on 19 Jan 2010, 06:30 PM
Hi Manikanta,

If you want the actual images (either for another purpose, of if you want to link to them manually) you can grab them from your local installation here (by default):

C:\Program Files\Telerik\RadControls for ASP.NET AJAX Q3 2009\Skins\[Skin name]\Grid

Hope that helps,

Shaun.
0
XXXX
Top achievements
Rank 1
answered on 17 Feb 2010, 04:15 PM
Thanks Shaun,
    I used this to modify the demo code for editing Grid in RadWindow.
By adding ImageUrl to the HyperLink definiton the column looks like a GridEditCommandColumn.
ie it looks like this

<

 

asp:HyperLink ID="EditLink" runat="server" Text="Edit" ImageUrl="~/Images/Edit.gif"></asp:HyperLink>

 

.

Yours
  Bjössi
Tags
General Discussions
Asked by
Manikanta Kiran
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Shaun Peet
Top achievements
Rank 2
XXXX
Top achievements
Rank 1
Share this question
or