User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C# section within the Software Development category of DaniWeb, a massive community of 429,839 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,843 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C# advertiser: Programming Forums

Updating controls

Join Date: Aug 2007
Location: Gunnison, Colorado
Posts: 57
Reputation: fishsqzr is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 1
fishsqzr fishsqzr is offline Offline
Junior Poster in Training

Updating controls

  #1  
May 15th, 2008
C# (and, I assume, all NET languages) has a very obnoxious 'feature' where data is not sent from a control (TextBox, CheckBox, DataGridViewCell...) to the underlying dataset until that control looses focus. This causes problems because there are cases where critical code can get invoked before a value is saved.

I have tried all kinds of tricks to make sure all values the user has entered are sent to the underlying data but there seem to be exceptions to every tactic I try. Has anyone solved this problem?
AddThis Social Bookmark Button
Reply With Quote  
All times are GMT -4. The time now is 6:22 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC