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

[Solved] Radconfirm Image

4 Answers 258 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jason Rivera
Top achievements
Rank 1
Jason Rivera asked on 14 Feb 2010, 03:22 PM

I have a radgrid with a gridButtonColumn that is using the radconfirm.  How can I change the radconfirm image from the questionmark to the caution symbol used in the radalert?

<

 

telerik:GridButtonColumn ButtonType="ImageButton" UniqueName="DeleteImageButton" CommandName="Delete" ConfirmDialogType="RadWindow"

 

 

ConfirmText="Delete this action item?" ConfirmTitle="Delete Confirmation" Text="Delete">

 

 

</telerik:GridButtonColumn>

 

4 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 16 Feb 2010, 07:32 AM
Hello Jason,

Add the following style on page for changing the questionmark image of RadConfirm to your own image.

CSS:
 
    <style type="text/css"
        .rwDialogPopup.radconfirm 
        { 
            backgroundurl('../Images/Image1.gif'no-repeat left center !important; 
        } 
    </style> 

-Shinu.
0
Jason Rivera
Top achievements
Rank 1
answered on 16 Feb 2010, 02:48 PM
Actually, I'm looking to add one of your existing images.  I don't want to create a new background image if it already exists.  (I'd like to avoid having to edit images if I change the styles for my controls)  Is there a way to pull it from the telerik webresources?
0
Jason Rivera
Top achievements
Rank 1
answered on 18 Feb 2010, 02:04 PM
Anything new?  I don't want to create my own image if one already exists. 
0
Radoslav
Telerik team
answered on 19 Feb 2010, 11:33 AM
Hi Jason,

Please check out the following blog posts which elaborate on how to accessing  the embedded resources:

http://www.telerik.com/community/forums/aspnet-ajax/combobox/how-do-i-adjust-the-header-height-within-the-control-s-dropdown-list.aspx
http://www.telerik.com/community/forums/aspnet-ajax/style-builder/reusing-skin-graphics.aspx
http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/all-skins-are-not-the-same.aspx

I hope this helps.

Kind regards,
Radoslav
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Jason Rivera
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Jason Rivera
Top achievements
Rank 1
Radoslav
Telerik team
Share this question
or