Sep 26, 2012, 9:23 AM
[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:
I'm using the version 2.0 (last from SVN)
I have a viewport with some panels. For a Panel in the code behind on Page_Load we set the Collapse direction:
panel.CollapseDirection = Direction.Left;
But when I click on the collapse button an exception is thrown, in this point: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:
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)
Last edited by geoffrey.mcgill; Sep 29, 2012 at 2:05 AM.
Reason: [CLOSED]