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

Default Delete Image

1 Answer 172 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sub
Top achievements
Rank 1
Sub asked on 31 Mar 2011, 09:52 PM
Hi,

I want to display the same delete image that you used in your demos. By default it shows like a recycle bin not the red cross delete image. I am using the version 2008.2.1001.20 of Telerik.Web.UI. Please let me know how I can use that symbol by default.

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 04 Apr 2011, 06:18 AM
Hello,


When I  tried "GridButtonColumn" with ButtonType as "ImageButton" (Skin="Outlook") , then I got the delte button as shown in the Telerik demo. I am using RadControls version "2010, 3, 1109, 35" .

If you want to chnage the image for the button, then that is also possible by setting the ImageUrl for the column.

mark-up:
<telerik:GridButtonColumn ImageUrl="../Images/Icons/myDeleteButton.gif" ConfirmText="Delete this product?"
    ConfirmDialogType="RadWindow" ConfirmTitle="Delete" ButtonType="ImageButton"
    CommandName="Delete" Text="Delete" UniqueName="DeleteColumn">
    <ItemStyle HorizontalAlign="Center" />
</telerik:GridButtonColumn>



Regards,
Princy.
Tags
Grid
Asked by
Sub
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or