Telerik Forums
UI for ASP.NET MVC Forum
0 answers
136 views
0 answers
88 views
Hi everyone,

I try to use the LayoutChange-Event to get the height of the previous panel. Here is the method I call with the event:
function onMultiLookupWindowSplitterResize(e)
{
    if (e.sender.resizing != undefined && e.sender.resizing.previousPane != undefined)
        $('#lookupGridContainer').height(e.sender.resizing.previousPane.height() - 40);
}

It really works fine. The only problem is. When I collapse a panel it doesn't really work. The previousPane is undefined and so I don't get the height.

If i resize the splitter first and THEN collapse one panel the previousPane is correctly defined. So the problem occurs only if I collapse a panel BEFORE resizing.

Hope you understand what I mean. Is this a bug? Is there any solution for this?

Thanks,
Mathias
Mathias
Top achievements
Rank 1
 asked on 27 Sep 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?