Databinding and Validation with UserControls

  • Thread starter Christof Nordiek
  • Start date
C

Christof Nordiek

Hi folks,

I've got a Form with several Controls. One of it is a UserControl.
Then I have put some DataBinding to the Controls with
control.DataBindings.Add(...);
Know there is some strange Behaviour:
Fist: When I change to the UserControl (by clicking in the control), it
doesn't cause validation on the other control. Only if I change to another
Control the validation is occurs. The UserControl has a Property
CausesValidation wich in the Designer is set to true.
Second: I've got some problem to put the Changed value back to the
DataSource. How can I get sure that the changed value of the DataBound
Property is put back to the Control?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top