The OnClientResized client-side event handler is called when a control has just been resized. The resize can occur because of a user action (such as dragging a split bar or resizing the window that contains a splitter), or as the result of a a call to a client-side method.

note

The OnClientResized event is supported by RadSplitter , RadPane , and RadSlidingPane .

The following two parameters are passed to the event handler:

sender is the splitter or pane that was just resized.

eventArgs has the following methods:

get_oldHeight() returns the height of the control before the resize.

get_oldWidth() returns the width of the control before the resize.

The following example uses the OnClientResized event to show an alert:

Give article feedback

Tell us how we can improve this article

Code samples are inaccurate/outdated.
I expected to find other/more information.
There are typos/broken links/broken page elements.
Content is inaccurate/outdated.
Other
By checking this box you consent to Progress contacting you by email about your response on this page.