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

radwindow becomes inactive

3 Answers 85 Views
Window
This is a migrated thread and some comments may be shown as answers.
Rupa
Top achievements
Rank 1
Rupa asked on 22 Jul 2010, 06:40 PM

3 Answers, 1 is accepted

Sort by
0
Cori
Top achievements
Rank 2
answered on 23 Jul 2010, 05:59 PM
Can you provide some details why it's inactive or how it becomes inactive?
0
Rupa
Top achievements
Rank 1
answered on 23 Jul 2010, 06:06 PM
Hi,

I have a parent page and I have 2 radwindows on the parent page, RadWindow1 and RadWindow2. Button click on parent page opens up RadWindow1 and button click on RadWindow1 opens up RadWindow2. When RadWIndow2 opens up, RadWIndow1 becomes inactive, which is fine. But when I close RadWindow2, RadWindow1 still remains inactive.

According to some replies in this forum, I made changes to Window.css to make inactive windows titlebar opaque, which gives a look that the RadWindow1 is active. But I want it to be actually active on closing of RadWindow2.

Thanks,
Rupa
0
Petio Petkov
Telerik team
answered on 26 Jul 2010, 04:43 PM
Hi Rupa,

You should handle RadWindow2's OnClientClose client-side event and invoke RadWindow1's setActive client-side method.
You can find more about RadWindow client-side events in the following online example:
http://demos.telerik.com/aspnet-ajax/window/examples/clientsideevents/defaultcs.aspx?product=window
More about RadWindow's client-side API is available here:
http://www.telerik.com/help/aspnet-ajax/window_programmingradwindowmethods.html


Greetings,
Petio Petkov
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
Rupa
Top achievements
Rank 1
Answers by
Cori
Top achievements
Rank 2
Rupa
Top achievements
Rank 1
Petio Petkov
Telerik team
Share this question
or