New Posts New Posts RSS Feed: It appears that a tab must take place after a checkbox is checked/unchecked
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

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

 Post Reply Post Reply
Author
Customer View Drop Down
Senior Member
Senior Member
Avatar
User Submitted Questions to Support

Joined: 30-May-2007
Location: United States
Posts: 260
Post Options Post Options   Quote Customer Quote  Post ReplyReply Direct Link To This Post Topic: It appears that a tab must take place after a checkbox is checked/unchecked
    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?
Back to Top
IdeaBlade View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 30-May-2007
Location: United States
Posts: 353
Post Options Post Options   Quote IdeaBlade Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down