Recommended

Skip Navigation LinksHome / Search

Search

 
Results Per Page

Found 36 results for Validation.
Date between: <not defined> and <not defined>
Search in: News , Articles , Tips , Shows , Showcase , Books

Page 
  • 1
  • 2
  • 3
  • 4
Next
Order by Publish Date   Ascending Title   Rating  

  • 0 comments  /  posted by  Zoltan Arvai  on  Jun 17, 2010 (1 week ago)

    Introduction

    In this short series of articles I’ll cover what MVVM is and how to use it in practice, how to solve issues when applying this pattern and how to take advantage from it.

    1. Part I: The Basics
    2. Part II: Messaging, Unit Testing and moving to a live data source
    3. Part III: Validation, Closer integration with the view 

    In the previous articles we created a simple master details scenario with the MVVM pattern. We used mock and live data sources with WCF, we created unit tests, we used Messaging from the MVVM Light Toolkit.

    By now, we have an application that communicates with a server, and we know how to send data back to a server.



  • Silverlight Tip of the day #25 – Detecting Validation Errors on Submit

    0 comments  /  posted by  Silverlight Show  on  May 31, 2010 (3 weeks ago)
    This next Silverlight tip of Mike Snow is about how to detect validation errors on submit.

    When you are about to submit a form, click OK on a dialog, etc. it’s a good idea to first verify if any of your controls have data validation errors associated with them. To learn how to hook up your controls to data validation please review Tip of the Day #22.

  • Async Validation with RIA Services

    0 comments  /  posted by  Silverlight Show  on  May 27, 2010 (4 weeks ago)
    Tags: RIA Services , Validation , Data Annotations , Silverlight 4 , Jeff Handley
    The purpose of Jeff Handley in this post is to convince you that performing async validation with RIA Services is now much easier than ever before.

    Silverlight 4 shipped with an interface called INotifyDataErrorInfo, and controls that previously supported validation by way of exceptions now support async validation through this interface. This laid the groundwork for RIA Services to offer a simple mechanism for adding validation errors to entities at arbitrary times and having the controls show those validation errors just like all others.

  • 0 comments  /  posted by  Silverlight Show  on  May 21, 2010 (1 month ago)
    Mike Snow has prepared two more tips for you. The first one is about Animation Easing and the second is about Data Validation.

    Animation Easing allows for you to apply built in animation functions to your Silverlight controls. The result is a variety of animation effects that make your controls move in a more realistic way. For example, you can add springiness to your controls, set how many times you want it to bounce when it hits a destination point, etc.

  • WPF Validation using Validation Application Block Part 2 – Client side

    0 comments  /  posted by  Silverlight Show  on  Mar 25, 2010 (3 months ago)
    This is second part of Radenko Zec's article where he talks about Validation in WPF using Entlib Validation Application Block. Part one is located here.

    There are many articles about client side validation in WPF. Most of these articles are similar and use implementation of IDataErrorInfo interface on Model class. I have use some methods  already described in other articles just to show you how easy it is to implement client side validation in WPF using VAB. I have model class called Customer where I have implemented IDataErrorInfo.

  • Validation in Silverlight

    0 comments  /  posted by  Timmy Kokke  on  Mar 19, 2010 (3 months ago)
    Tags: Validation
    In this post, Timmy Kokke talks about validation in Silverlight
    Validation in Silverlight can get very complex pretty easy. The DataGrid control is the only control that does data validation automatically, but often you want to validate your own entry form. Values a user may enter in this form can be restricted by the customer and have to fit an exact fit to a list of requirements or you just want to prevent problems when saving the data to the database.
  • ValidationResult - Specifying Member Names

    0 comments  /  posted by  Silverlight Show  on  Mar 04, 2010 (3 months ago)
    In this post, Jeff Handley discusses ValidationResults and gives a nice example.

    A ValidationResult represents a validation error condition, specifying the error message and, optionally, any member names that the error corresponds to.  If you use the [Required] attribute, the [Range] attribute, [StringLength], or any of the other provided ValidationAttribute classes, then ValidationResult instances are created to represent any validation failures.

  • ValidationResult - Specifying Member Names

    0 comments  /  posted by  Svetla Stoycheva  on  Feb 25, 2010 (4 months ago)

    Jeff Handley gives examples with using The System.ComponentModel.DataAnnotations.ValidationResult class.

    The System.ComponentModel.DataAnnotations.ValidationResult class was created for RIA Services, and it was introduced in Silverlight 3.0 and then added into .NET 4.0.  A ValidationResult represents a validation error condition, specifying the error message and, optionally, any member names that the error corresponds to.  If you use the [Required] attribute, the [Range] attribute, [StringLength], or any of the other provided ValidationAttribute classes, then ValidationResult instances are created to represent any validation failures. 

  • Silverlight – About Validation When Binding to Custom Forms

    0 comments  /  posted by  Silverlight Show  on  Jan 15, 2010 (5 months ago)
    In this post, Fredrik Normén writes about the different ways to handle validations.

    I have notice that some people have problems about how to implement User Input validation when they don’t use controls like the DataForm or DataGrid  etc, and instead bind directly to a TextBox or other user input controls. In this post I will write about different ways to handle validations. In this post I will work with a simple View. I will later add a post where I will use some new Validation features in Siverlight 4 and where I also use the MVVM pattern and Commanding.

       
  • Silverlight – About Validation When Binding to Custom Forms

    0 comments  /  posted by  Silverlight Show  on  Jan 11, 2010 (5 months ago)
    Tags: Validation , Views

    Fredrik Normén discusses various validation schemes in a simple View.

    I have notice that some people have problems about how to implement User Input validation when they don’t use controls like the DataForm or DataGrid  etc, and instead bind directly to a TextBox or other user input controls. In this post I will write about different ways to handle validations. In this post I will work with a simple View. I will later add a post where I will use some new Validation features in Siverlight 4 and where I also use the MVVM pattern and Commanding.


Page 
  • 1
  • 2
  • 3
  • 4
Next
Help us make SilverlightShow even better. Whether you'd like to suggest a change in the structure, content organization, section layout or any other aspect of SilverlightShow appearance - we'd love to hear from you! Need material (article, tutorial, or other) on a specific topic? Let us know and SilverlightShow content authors will work to have that prepared for you. (hide this)