gushie
Newcomer
I have a GroupBox which contains two DateTimePickers.
In the GroupBox validating event, I'm trying to check to see whether one DateTimePicker value is greater than the other and then set an ErrorProvider.
The problem I'm facing is that when I click off the DateTimePicker to somewhere outside it's parent groupbox, the GroupBox Validating event gets fired before the DateTimePicker Control has been updated. I.e. if I interrogate the DateTimePicker all the properties still contain the old values, even the 'Text'. This obviously makes the validation a bit difficult!
I can't seem to find an event on the GroupBox that does get fired after the DateTimePicker is updated... can anyone help?
Thanks,
Jonathan.
C# VS2003.
In the GroupBox validating event, I'm trying to check to see whether one DateTimePicker value is greater than the other and then set an ErrorProvider.
The problem I'm facing is that when I click off the DateTimePicker to somewhere outside it's parent groupbox, the GroupBox Validating event gets fired before the DateTimePicker Control has been updated. I.e. if I interrogate the DateTimePicker all the properties still contain the old values, even the 'Text'. This obviously makes the validation a bit difficult!
I can't seem to find an event on the GroupBox that does get fired after the DateTimePicker is updated... can anyone help?
Thanks,
Jonathan.
C# VS2003.