I have following problem. I need the script that will return me sum of heights of elements that are in the same container as control in parameter, ofcourse without this control.
For example I have container that contains 3 controls:
now what I need is to invoke method like:Code:GridPanel - height: 150px; SomeOtherPanel - height: 200px; Toolbar - height: 50px;
which will return me 250 to my siblingsHeightvariable.Code:var siblingsHeight = MesureSiblingsHeight(GridPanel)
How to write such method? Any examples? I've tried.. no success