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

focus lost after click on ok on rad alert

3 Answers 63 Views
Window
This is a migrated thread and some comments may be shown as answers.
prasad
Top achievements
Rank 2
prasad asked on 27 Jan 2010, 01:34 PM
hi,
i need help regarding the default focus in rad alert.

i am having the default focus for the page gets loaded.

when the page is firing the rad alert, after clicking "OK" button in rad alert the focus is lost.

i need solution fort he above problem


ThanQ,
Vara Prasad.M

3 Answers, 1 is accepted

Sort by
0
prasad
Top achievements
Rank 2
answered on 01 Feb 2010, 06:02 AM
Till now no solution found FOR THIS?
0
Accepted
Svetlina Anati
Telerik team
answered on 01 Feb 2010, 11:16 AM
Hi prasad,

I tested the scenario you describe and I noticed two issues:

1) The OK button looks as being focused but it is actually not (if you press Enter the alert will not disappear). This is expected and the behavior is related to default button setting, you can easily reproduce it by using a standard IFRAME element.

2) After you click the OK button the focus is not returned as you describe.

What I can suggest is to add a close handler to the alert dialog and set the focus back to the button by using the focus() method.

On a side note, forums are considered community resources and we do not ensure a fast reply here - if you want to make sure that you will get an accurate and fast reply, please use our support system and open support tickets.

Kind regards,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
prasad
Top achievements
Rank 2
answered on 02 Feb 2010, 08:21 AM
Thanq,
I got the solution.it helped me
Tags
Window
Asked by
prasad
Top achievements
Rank 2
Answers by
prasad
Top achievements
Rank 2
Svetlina Anati
Telerik team
Share this question
or