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

Change the align of Button in radalert

3 Answers 117 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Manindra
Top achievements
Rank 1
Manindra asked on 22 Aug 2012, 02:07 PM
Hi,
I want to change the align the button in radalert using stylysheet. Code is :

 <style type="text/css">       
        .rwPopupButton
        {
           margin:10px 0px 0px 140px !important;
        }
    </style>

But it also affected to radconfirm buttons. 
So,Please help me for this to only change the align of radalert  not any other window buttons.

Thanks

3 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 23 Aug 2012, 03:37 AM
Hi Manindra,

Try the overriding the default CSS as follows to change the align of RadAlert button only.

CSS:
<style type="text/css">
 .radalert .rwPopupButton
   {
     margin: 10px 0px 0px 140px !important;
   }
</style>

Hope this helps.

Regards,
Princy.
0
Manindra
Top achievements
Rank 1
answered on 23 Aug 2012, 05:34 AM
Hi,
Thank you for your quick reply. But this code is not working for me. Please suggest me some other ways.

Thanks--
Manindra
0
Marin Bratanov
Telerik team
answered on 24 Aug 2012, 01:34 PM
Hello Manindra,

I advise that you examine the following KB article on the subject: http://www.telerik.com/support/kb/aspnet-ajax/window/centering-the-buttons-of-the-predefined-dialogs-and-keeping-the-image-aligned-to-the-top.aspx.


Greetings,
Marin Bratanov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
General Discussions
Asked by
Manindra
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Manindra
Top achievements
Rank 1
Marin Bratanov
Telerik team
Share this question
or