Your SlideShare is downloading. ×
0
Validation scenarios in Silverlight 4
Validation scenarios in Silverlight 4
Validation scenarios in Silverlight 4
Validation scenarios in Silverlight 4
Validation scenarios in Silverlight 4
Validation scenarios in Silverlight 4
Validation scenarios in Silverlight 4
Validation scenarios in Silverlight 4
Validation scenarios in Silverlight 4
Validation scenarios in Silverlight 4
Validation scenarios in Silverlight 4
Validation scenarios in Silverlight 4
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Validation scenarios in Silverlight 4

3,906

Published on

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 …

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.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
3,906
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
31
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. VALIDATION SCENARIOS IN SILVERLIGHT 4 University of Southern California, Los Angeles October 24th, 2010Rajmund Rzepecki Version 1.1
  • 2. First, how binding works in WPF/SL?
  • 3. Can we define our own invalid states?
  • 4. Controls supporting validation states
  • 5. How all this communicates?
  • 6. Sequence diagram for the whole cycleAlexander Junghttp://ajdotnet.wordpress.com/2010/02/28/understanding-validation-in-silverlight/
  • 7. Demo and examplesIt 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.
  • 8. 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 INotifyDataErrorInfohttp://weblogs.asp.net/fredriknormen/archive/2009/11/22/silverlight-4-and- asynchronous-validation-with-inotifydataerrorinfo.aspx
  • 9. 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
  • 10. 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 formshttp://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
  • 11. Useful links – INotifyDataErrorInfo Enabling Validation in Silverlight 4 with IDataErrorInfohttp://johnpapa.net/silverlight/enabling-validation-in- silverlight-4-with-idataerrorinfo/ Implementing Data Validation in Silverlight with INotifyDataErrorInfohttp://www.silverlight.net/learn/whitepapers/introduci ng-new-inotifydataerrorinfo-interface Silverlight 4 INotifyDataErrorInfohttp://attachedwpf.com/blog/2010/03/24/silverlight-4- inotifydataerrorinfo
  • 12. Questions? Thanks for coming. Please download from: http://www.slideshare.net/rajmundr/validation- scenarios-in-silverlight-4

×