I was going through the following KB article (Centering the buttons of the predefined dialogs and keeping the image aligned to the top):
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
The code works fine for default RadAlert dimensions. It also works if I make the RadAlert window wider.
But it will not work anymore if I make RadAlert window 'higher', for example using the following code:
The 'Ok' button will be aligned to right but it will stay towards the top right of the window instead bottom-right...
Can you please help to add any additional code that will solve this issue? (and also make the KB article better)
Regards,
M.R.
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
The code works fine for default RadAlert dimensions. It also works if I make the RadAlert window wider.
But it will not work anymore if I make RadAlert window 'higher', for example using the following code:
Dim scriptstring As String = "radalert('Welcome to Rad window!', 550, 250);"
ScriptManager.RegisterStartupScript(Me, Me.[GetType](), "radalert", scriptstring, True)
The 'Ok' button will be aligned to right but it will stay towards the top right of the window instead bottom-right...
Can you please help to add any additional code that will solve this issue? (and also make the KB article better)
Regards,
M.R.