'How do I register a JS function to run when a browser window is resized?

How do I register a JS function to run when a browser window is resized?

I assume it's in the

Page.ClientScript

class methods somewhere, but I am a bit confused.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source