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

radalert changes height when OK button clicked

2 Answers 89 Views
Window
This is a migrated thread and some comments may be shown as answers.
Teodorico
Top achievements
Rank 1
Teodorico asked on 17 Jun 2009, 12:41 AM

Hi,
I just noticed that when clicking on the OK button, the dialog form height shrinks a little.
You can see this behavior on the example provided at:

http://demos.telerik.com/aspnet-ajax/window/examples/browserdialogboxes/defaultcs.aspx

1.       Click on "radalert dialog" button. The radalert is displayed.

2.       Click "OK" on the dialog, but do not release the mouse button. You'll observe the behavior.

3.       If you release the mouse button outside the "OK" button and repeat the steps, it does not keep shrinking.

 

Thanks,

Teo

 

2 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 17 Jun 2009, 12:25 PM
Hi Teodorico,

If you examine the alert dialog, you will notice that the OK button is focused and there is a dotted line around it. When you click the button, this line is removed by the browser and that causes the "shrinking". If you don't want this to happen, you should use a custom radalert template where the button is not automatically focused - e.g. if you press the Enter key, it will not be closed automatically.


Sincerely yours,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Teodorico
Top achievements
Rank 1
answered on 22 Jul 2009, 12:51 AM
I think the height should not change from the value specified when opening the radalert.

Regards.
Tags
Window
Asked by
Teodorico
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Teodorico
Top achievements
Rank 1
Share this question
or