Value does not Fall within the expected range

Jun 21, 2009 at 1:26 AM


Hi there, 

We received "Value does not Fall within the expected range" when adding panel that contains validators to a new panel parent.

The error happens on this line newPanel.children.add(panelContainsValidators).

When I removed the validators from the panel, the problem dissappear.

I'm noticing that it may happen due to the ElementToValidate's visibility of the validator is set to collapsed.

Any thoughts on this problem? and possible solution to solve it?

Thanks in advance