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

Change color of button on the alert.

1 Answer 47 Views
DesktopAlert
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 01 Jul 2011, 11:33 PM
I add buttons to my alerts so that the user can take some action if they want.

I personally do not feel these buttons are easy to see. They look like text. I want something that stands out more.
How can I change the color of the button?

I tried to set the backcolor and the BorderElement.BackColor of my RadButtonElement.

Something is overriding my settings.

 

 

1 Answer, 1 is accepted

Sort by
0
Ivan Petrov
Telerik team
answered on 06 Jul 2011, 05:06 PM
Hi Chris,

Thank you for writing.

You can change the look of a RadButtonElement either by our theming mechanism or by using code. The easier way is to do it through a theme as you see the result of your customization immediately. If you want to customize it by code, though, you have to use the RadButtonElement.ButtonFillElement proeprties for the back color properties and RadButtonElement.BorderElement for the border properties.

I hope this will help. If you have further questions, I would be glad to help.

Regards,
Ivan Petrov
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
DesktopAlert
Asked by
Mark
Top achievements
Rank 1
Answers by
Ivan Petrov
Telerik team
Share this question
or