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

Client-side resize events

1 Answer 88 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Jeff
Top achievements
Rank 1
Jeff asked on 26 Feb 2011, 12:21 AM
I have a javascript component that is sitting inside a RadPane that can be resized using a RadSplitter.

The component needs to redraw at the appropriate size, when the splitter resizes the pane.

What I need to do is to connect a javascript function as an event handler to the splitter, or the pane, to handle resize events - in javascript.  Given the circumstances, I need to connect a dynamically-constructed function, I can't simply set the name of a function in the markup.

The examples I've seen always set attributes in the markup: OnClientResized="panelResized", where "panelResized" is the name of a function in the global namespace.  In my case, this won't work.

How do I set a javascript function object to be an event handler, with RadPane or RadSplitter?

1 Answer, 1 is accepted

Sort by
0
Jeff
Top achievements
Rank 1
answered on 28 Feb 2011, 09:57 PM
I found the solution in the online documentation. 

http://www.telerik.com/help/aspnet-ajax/splitter_clientsideevents.html

So, never mind...
Tags
Splitter
Asked by
Jeff
Top achievements
Rank 1
Answers by
Jeff
Top achievements
Rank 1
Share this question
or