Total height calculation after child item is expanded or collapsed

1 posts, 0 answers
  1. roger
    roger avatar
    26 posts
    Member since:
    Jun 2012

    Posted 29 May 2013 Link to this post

    hi Telerik,

    I try to recalculate the total height of the panel bar after its child item is expanded or collapsed and i did try the panel bar events like OnClientItemExpand/OnClientItemCollapse, OnClientClicked but in none of them i can get the real height of the panel bar since the panel bar always keeps the current height (not the actual height after child item expanded or collapsed)

    function OnClientItemExpand(sender, args)
        var panelHeight = sender.get_element().offsetHeight; //always current height not after child item expanded

    please help -- very appreciate!


Back to Top