Client-side resize events

2 posts, 0 answers
  1. Jeff
    Jeff avatar
    100 posts
    Member since:
    Apr 2008

    Posted 25 Feb 2011 Link to this post

    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?
  2. Jeff
    Jeff avatar
    100 posts
    Member since:
    Apr 2008

    Posted 28 Feb 2011 Link to this post

    I found the solution in the online documentation. 

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

    So, never mind...
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top