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?
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?