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

Focus problem after RadWindow is closed

1 Answer 86 Views
Window
This is a migrated thread and some comments may be shown as answers.
Imran
Top achievements
Rank 1
Imran asked on 14 Feb 2009, 08:03 AM
Hi,
I have a web user control called "EmailToFriend" that appears on many places on Main page.When user clicks on it , a RadWindow opens at relative position with further details for email.The problem is When RadWindow is closed I want to automatically set the focus on that instance of EmailToFriend that triggers the window.Can this be possible?Can we use session object to hold clientid of that control so that we can fetch that control when we came back to main page.Please help me in this regard.

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 16 Feb 2009, 11:55 AM
Hi Imran,

I am not quite sure what your exact setup is and how you open the RadWindows, but I would suggest to use the OnClientClose client event of the control. For example if you open the window on the client, you can set a flag that shows to which control the focus should be returned and then to check that flag in the OnClientClose function.


Greetings,
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.
Tags
Window
Asked by
Imran
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or