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!
thanks,
roger
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!
thanks,
roger