Home Forums WinForms controls Other WinForms controls Binding and WinDatePicker Reply To: Binding and WinDatePicker

User (Old forums)
Member
Post count: 23064

Ok, I found a much better way to do the binding by using Format/Parse in the binding to do the conversion to and from my legacy data; so I don’t have to subclass the controls anymore. (Learn something new everyday. :-D)

However the issue is still the same. Binding to the “Value” propery of the WinDatePicker appears to have issues. Does WDP support Binding? Or am I supposed to Bind to a different Field?

It is setting the Date in the WDP; however; when I change the date and tab off it has the same basic issues as above. It appears that somewhere lower in the control it is trying to copy the value back to the Source Data in the Data Row. Any way to turn off this functionality.

Nathan.

Imported from legacy forums. Posted by Nathanael (had 493 views)