Hi,
I have a form with about 40 textboxes, but only 7 of them need to have a value in order to save. My question is; is it totally wrong to validate these 7 fields on the form rather then in the relevant business object? The reason I'm asking is that although I'm happy to do the validation in the business object, I'm struggling to find a way to use the ErrorProvider that's on the form.
Any thoughts?
I have a form with about 40 textboxes, but only 7 of them need to have a value in order to save. My question is; is it totally wrong to validate these 7 fields on the form rather then in the relevant business object? The reason I'm asking is that although I'm happy to do the validation in the business object, I'm struggling to find a way to use the ErrorProvider that's on the form.
Any thoughts?