[CLOSED] Panel#findReExpander must be passed a valid collapseDirection
Hello,
I have a viewport with some panels. For a Panel in the code behind on Page_Load we set the Collapse direction:
Code:
panel.CollapseDirection = Direction.Left;
But when I click on the collapse button an exception is thrown, in this point:
Code:
throw ("Panel#findReExpander must be passed a valid collapseDirection")
It seems to me that it fails to found the right item in the switch. In the direction variable I see "Left", but in the switch I see:
Code:
case c.DIRECTION_TOP:
case c.DIRECTION_BOTTOM:
// more code
case c.DIRECTION_LEFT:
case c.DIRECTION_RIGHT:
// more code
and above DIRECTION_LEFT is 'left', not 'Left'.
I'm using the version 2.0 (last from SVN)