all groups > dotnet windows forms databinding > august 2006 >
You're in the

dotnet windows forms databinding

group:

Defaults for data bindings Update Mode


Defaults for data bindings Update Mode Andrew
8/17/2006 4:00:04 PM
dotnet windows forms databinding:
When you bind a data source to a control the binding data source update mode
defaults to "OnValidation".

I find this a pain and I would prefer the default to be "OnPropertyChanged".

Does anyone know if this default could be changed or how I could go about
overriding this behaviour. e.g. using descendant controls. I only want to
change the default (I might need to change it back to "OnValidation" if
needed.

Thanks

--
Andrew Cutforth - AJC Software - www.ajcsoft.com
The best folder synchronize and directory compare tool available.
AJC Active Backup instantly archives every file you edit giving you
unlimited undo and automatic revision control. Never lose your data again.

Re: Defaults for data bindings Update Mode TonyD
8/24/2006 5:07:16 AM
I was looking for an attribute that would control the default for this
as well, I would prefer for the developers using my controls to not
have to open the advanced databindings properties to change this for
each instance of the control.

Did you ever find a way to modify the default?


[quoted text, click to view]
AddThis Social Bookmark Button