Recommended

  • Silverlight.FX
    Silverlight.FX is a light-weight application framework for building RichInternet Applications with Silverlight 2.
  • Building Modular Silverlight Applications
  • .NET RIAServices - Building Data-Driven Applications with Microsoft Silverlight andMicrosoft ASP.NET
  • Securing Silverlight Application and WCF Service using ASP.Net Authentication Techniques
  • Model– View – ViewModel in Silverlight
Skip Navigation LinksHome / News / View News

Control-Oriented Vs. Data-Oriented Programming in Silverlight

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on Jun 22, 2009
(0 votes)
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.

Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
 Refresh