Print Page | Close Window

It appears that a tab must take place after a checkbox is checked/unchecked

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=272
Printed Date: 01-Apr-2025 at 4:13pm


Topic: It appears that a tab must take place after a checkbox is checked/unchecked
Posted By: Customer
Subject: It appears that a tab must take place after a checkbox is checked/unchecked
Date Posted: 16-Jul-2007 at 11:38am
It appears that a tab must take place after a checkbox is checked/unchecked for the bound property on the BO to be invoked.  Is this normal behavior or is there something else that should be done in order call the setter in the BO when the check state changes?



Replies:
Posted By: IdeaBlade
Date Posted: 16-Jul-2007 at 11:40am
Try this.
 
You can set the DataSourceUpdateMode on the binding descriptor to OnPropertyChanged if you want instantaneous changes w/o changing focus.
 
DataSourceUpdateMode = DataSourceUpdateMode.OnPropertyChanged
 
The default is OnValidation which will cause the Setter to fire after a tab.



Print Page | Close Window