validation scenarios in silverlight 4
DESCRIPTION
Let's go over important changes made in version 4 without using any framework, just plain Silverlight. See how validation has been made easier and more manageable. I will demonstrate some custom scenarios and problems not covered anywhere.TRANSCRIPT
Rajmund Rzepecki
VALIDATION SCENARIOS IN SILVERLIGHT 4
University of Southern California, Los AngelesOctober 24th, 2010
Version 1.1
First, how binding works in WPF/SL?
Can we define our own invalid states?
Controls supporting validation states
How all this communicates?
Sequence diagram for the whole cycle
Alexander Junghttp://ajdotnet.wordpress.com/2010/02/28/understanding-validation-in-silverlight/
Demo and examples
It is totally hands on from now on. We are going to deepdive into code.
I have studied and selected the finest examples fromthe web discussing validation issues and solutions for them.
Don’t worry about remembering or taking notes,I will give you links to all topics presented at the end.
Remember, most principles also apply to WPF.
Useful links Silverlight Validation in Detailhttp://silverlightfeeds.com/post/571/Silverlight_Validation_in_Detail.aspx
Data Validation in Silverlight 4http://www.packtpub.com/article/data-validation-in-silverlight-4
Silverlight 4 Rough Notes: Binding and IDataErrorInfohttp://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2009/11/18/silverlight-4-rough-notes-binding-and-idataerrorinfo.aspx
Silverlight 4 Rough Notes: Binding with INotifyDataErrorInfohttp://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2009/11/18/silverlight-4-rough-notes-binding-with-inotifydataerrorinfo.aspx
Silverlight 4 and Asynchronous Validation with INotifyDataErrorInfo
http://weblogs.asp.net/fredriknormen/archive/2009/11/22/silverlight-4-and-asynchronous-validation-with-inotifydataerrorinfo.aspx
Useful links (more) Understanding Validation in Silverlighthttp://ajdotnet.wordpress.com/2010/02/28/understanding-validation-in-silverlight/
Silverlight Data Validationhttp://www.devproconnections.com/article/silverlight-development/Silverlight-Data-Validation.aspx
Validation Summary In Silverlight 3http://dpatra.blogspot.com/2010/04/validation-summary-in-silverlight-3.html
How to manually validate an object and have the results automatically added to a ValidationSummary?
http://forums.silverlight.net/forums/t/111830.aspx
Silverlight 4 : Data Validation - Tip of the Day - Part 1http://www.codeproject.com/Articles/86955/Silverlight-4-Data-Validation-Tip-of-the-Day-Part-.aspx
Useful links (even more) Silverlight 3 Validation Workaroundhttp://blog.andrew-veresov.com/post/Silverlight-3-Validation-Workaround.aspx
Silverlight – About validation when binding to custom forms http://weblogs.asp.net/fredriknormen/archive/2010/01/06/silverlight-about-validation-when-binding-to-custom-forms.aspx
Force Validation checks on Clickhttp://forums.silverlight.net/forums/p/158594/355142.aspx
Silverlight 3: Programmatically Validate Textboxhttp://dotnetstep.blogspot.com/2010/01/silverlight-3-programmatically-validate.html
Silverlight, MVVM and Validation (Part I-III)http://www.thejoyofcode.com/Silverlight_Validation_and_ViewModel.aspxhttp://www.thejoyofcode.com/Silverlight_Validation_and_MVVM_Part_II.aspxhttp://www.thejoyofcode.com/Silverlight_MVVM_and_Validation_Part_III.aspx
Useful links – INotifyDataErrorInfoEnabling Validation in Silverlight 4 with
IDataErrorInfohttp://johnpapa.net/silverlight/enabling-validation-in-silverlight-4-with-idataerrorinfo/
Implementing Data Validation in Silverlight with INotifyDataErrorInfo
http://www.silverlight.net/learn/whitepapers/introducing-new-inotifydataerrorinfo-interface
Silverlight 4 INotifyDataErrorInfohttp://attachedwpf.com/blog/2010/03/24/silverlight-4-inotifydataerrorinfo
Questions?Thanks for coming.
Please download from:
http://www.slideshare.net/rajmundr/validation-scenarios-in-silverlight-4