Updating Dates with WPF DatePicker

Posted by: Julia Lerman Blog - Dont Be Iffy..., on 10 Nov 2010 | View original | Bookmarked: 0 time(s)

I spent hours and hours trying to find this piece of information. Finally I was very happy to have Julia Kornich, a technical writer on the EF team, save the day! By default a DatePicker control does not notify its datasource of changes. Even when you are doing a drag & drop application. I had a DataGrid where every column but the date columns was pushing changes back to the database. What was wrong with the DatePicker? You need to explicitly tell it to do the job with the UpdateSourceTrigger...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: DataGrid | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 601 | Hits: 17

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD