Defaults for data bindings Update Mode
Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance
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.
.
Relevant Pages
- Re: Simple Threading Problem with WinForm
... // The delegate to call the method to set the data source. ... including your update of the status bar. ... Also, if you bind to dsLocal.Tables, the data grid will automatically ... > StatusBar control. ... (microsoft.public.dotnet.languages.csharp) - Re: Nasty DataSourceCotnrol Behavior
... because i never use sql data source on my pages as I tend to move all ... SqlDataSource control as it was configured during development. ... because before the data source control gets "activated" in the course of the page load its connection string ... You're right about the ViewState holding state information...but every databound page I've ever written needs to access some data ... (microsoft.public.dotnet.framework.aspnet) - Re: Adding records via datagrid
... Data binding as a paradigm nicely ... abstraction for generic unbound code involve control naming conventions, ... Again, limitations of the data source object -- if you write your own, ... custom data control to see if I can figure out what you mean. ... (microsoft.public.vb.controls) - Re: Explicitly create data object bound to control
... is the data which data source supplies to ObjectDataControl. ... Selecting this first item has no ... control. ... you're dealing with business objects, they are supposed to be created ... (microsoft.public.dotnet.languages.csharp) - Re: Explicitly create data object bound to control
... is the data which data source supplies to ObjectDataControl. ... control. ... What they mean is that, say, you have a list of customers, and you ... you're dealing with business objects, they are supposed to be created ... (microsoft.public.dotnet.languages.csharp) |
|