I have a XtraForm with TabPageControl on it. Every Page has it's own Layout Control and some controls on it.
I have implemented my custom validation for controls. Everything works fine except when I close form without any click except OK button(on OK i perform validation on every edit control), every control on TabPages not showed already, report me that they are null - but my form was already populated with data.
After code trace, I have found that controls on not showed TabPages have theirs EditValues set to null. If I use (click) tab page with that controls, before full form validation, they get data and validation passes good.
What I should do to have all controls get their bound data immediately after form construction?
Please review our answer to a similar question in the Support Center:
Is there a way to turn off lazy loading in the XtraTabControl?
Check if Search Engine is able to answer questions faster than I do!