Dan Wahlin is working on an application that uses a Silverlight DataGrid control with nested ComboBox and TextBox controls in each row. As a user changes quantity or hour values the totals need to be updated. In this post Dan discusses two different solutions that can be used to update the totals values - a control-oriented approach and a data-oriented approach.
If you build ASP.NET applications then you’re used to working with controls a lot. Nearly everything you do requires accessing control IDs. If you need to retrieve data entered by an end user you need to reference the controls that contain the data. That’s just the way we do it in ASP.NET and if you’ve been writing ASP.NET applications very long its how you’re conditioned to think.