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

Get skin delete.gif image from skin for delete button

1 Answer 64 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Chris May
Top achievements
Rank 1
Chris May asked on 27 Jan 2011, 08:53 PM
When I add a button column for the Edit/Update/Cancel button, I can change the button type to be an image, and it will automatically fetch the telerik skin images from WebResource.axd, and in the properties of the column you can see that for the image url it's using "mvwres://...".

However, if I try to do anything similar with a Delete column button, it doesn't work.  I'm assuming the delete icon is stored as a resource in the telerik dll just like the edit/update/cancel images are.  Is there any way to have it reference this image rather than copying the delete.gif from telerik program files to my application directory and manually pointing the delete column to use this gif? 

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 02 Feb 2011, 08:47 AM
Hi Chris,

I tried the following declaration of a Delete button column and it rendered the delete image which is shown in our demos.

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

Am I missing anything out from your description of the problem?

Best wishes,
Tsvetina
the Telerik team
Browse the vast support resources we have to jump start 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
Chris May
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or