Change color of button on the alert.

2 posts, 0 answers
  1. Mark
    Mark avatar
    5 posts
    Member since:
    Sep 2010

    Posted 01 Jul 2011 Link to this post

    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.



  2. Ivan Petrov
    Ivan Petrov avatar
    718 posts

    Posted 06 Jul 2011 Link to this post

    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.

    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!

Back to Top