Hi all,
I have build some XtraUserControls that I put in a parent form along with some other TextEdits. This parent form has a typical "Ok" button, that has to be enabled only if the form has no errors (i.e: all controls are validated).
I would like to integrate all of them into the DxValidationProvider (both textedits and xtrausercontrols) so I can check if the form is validated in a general way, say: dxValidationProvider1.Validate();
I could not find a general approach to this problem, so I had to use the .NET standard Form method "ValidateChildren" in order to force the validation of the underlying controls. And, if I want to disable/enable OK button in parent form, I also had to force the external validation of the xtraUsercontrol using a custom event "ForceValidating", handled by parent form which in turns invokes the Validating event in the xtraUserControl.
It sounds harder than it really is.
So my question is, for that "simple" escenario, does DXperience provide a standar method (and easier) of doing this?
Many thanks! (I'm using DXperience WinForms v8.1.5)