This demo was updated in the 9/29 version posted in this blog.
Please use that version.
This is the demo solution I presented at the Twin Cities Silverlight User Group on April 23. This zip file does not include the samples presented by Adam Grocholski.
WARNING: Do not install Silverlight 3 on your main development machine, you can't go back to Silverlight 2. See these install instructions.
http://www.dotnetcurry.com/ShowArticle.aspx?ID=293
Here are some excellent videos I used as resources.
http://silverlight.net/learn/learnvideo.aspx?video=187317
http://videos.visitmix.com/MIX09/T14F
Notes:
- This solution is the end result of the demo. Not all variations of the demo are included. If you saw something during the demo, that wasn’t included as part of the final solution, contact me with your questions.
-
- The XAML page implements the DisplayTemplates, but includes the Templated Fields for the DataForm, commented out in the XAML.
-
- I did not complete the binding on some of the ComboBoxes and DataPickers, due to time constraints.
-
- No data connectivity is required. The sample data is loaded from an XML file in the Silverlight project, which was generated from the AdventureWorks sample database, if you are interested in the source.
-
- I used the Suffix data field in the XML to store Mr/Mrs/Ms because it made the UI more interesting. I realize Suffix would normally hold “Jr”.