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

[Solved] set focus on radwindow and ok button of radalert

3 Answers 292 Views
Window
This is a migrated thread and some comments may be shown as answers.
Fakhrul
Top achievements
Rank 1
Fakhrul asked on 24 Mar 2009, 01:17 PM
Hi,

How can i set focus on ok button of radalert and radwindow when open radalert and radwindow respectively.

If possible please provide some sample code?

Thanks in advance!

Fakhrul

3 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 25 Mar 2009, 03:47 PM
Hello Fakhrul,

If you are using RadWindow for ASP.NET AJAX, the RadWindowManager's functions (radalert, radconfirm and radprompt) already have this feature. As for the RadWindow object itself, you could use the setActive() method.

Regards,
Georgi Tunev
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Yvonne Patakidou
Top achievements
Rank 1
answered on 19 Feb 2010, 12:27 PM
Hi,

We face a strange behavior with rad window object. In our case we open a rad window over an .aspx page. The behavior is the expected but when we try to open another rad window over the first rad window the new (second) window comes first but it seems to lost its focus. We have set the setActive = true, modal = true and we have set the appropriate values on z-index.

Do you have any ideas for this behavior?

Thank you in advance,

Yvonne
0
Georgi Tunev
Telerik team
answered on 22 Feb 2010, 01:25 PM
Hi Yvonne,

I am afraid that the provided information is not enough for us to determine what the reason for the problem might be. Please open a support ticket and send us a sample project where this issue could be reproduced - once we have a better view over your exact setup and logic, we will do our best to help.


All the best,
Georgi Tunev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Window
Asked by
Fakhrul
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Yvonne Patakidou
Top achievements
Rank 1
Share this question
or