# OnClientActivate

The **OnClientActivate** event of the **RadWindow** is fired when the control becomes the active window. This happens when it opens, when the user clicks or taps on it, and when its [client-side API](https://www.telerik.com/products/aspnet-ajax/documentation/controls/window/client-side-programming/radwindow-object) is used to activate it via the `setActive()` method. You can get the currently active **RadWindow** through the [RadWindowManager's client-side API](https://www.telerik.com/products/aspnet-ajax/documentation/controls/window/client-side-programming/radwindowmanager-object) and its `getActiveWindow()` method.

The event handler receives the following arguments:

1. The [RadWindow](https://www.telerik.com/products/aspnet-ajax/documentation/controls/window/client-side-programming/radwindow-object) object that fired the event.

2. An event arguments object that does not expose any methods and properties.

## See Also

* [Overview](https://www.telerik.com/products/aspnet-ajax/documentation/controls/window/client-side-programming/events/overview)

* [RadWindow Object](https://www.telerik.com/products/aspnet-ajax/documentation/controls/window/client-side-programming/radwindow-object)

* [RadWindowManager Object](https://www.telerik.com/products/aspnet-ajax/documentation/controls/window/client-side-programming/radwindowmanager-object)
