Hi,
Check out this thread which discusses a different way to set the focus on the cancel button:
http://www.telerik.com/community/forums/aspnet-ajax/window/set-focus-on-cancel-button-when-radconfirm-is-called.aspx#1864026. In short - some additional JavaScript when you open the dialog:
As for centering - the buttons are aligned as intended and centering them is not offered out of the box. You can, however, override some of the default styles and modify the <ConfirmTemplate> (how to do so is explained
here in more detail) of the RadWIndowManager in order to achieve this look, for example:
This also requires the following CSS to override some of the default styling:
Please keep in mind that the above code is just an example - it has not been thoroughly tested and I cannot guarantee that it will work in all scenarios in all browsers and that it is the best way to achieve this. You can use this as base to further develop this functionality and I hope it will work out well for you.
Regards,
Marin
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