Home > Silverlight > HT Session – Input Data validation in Silverlight

HT Session – Input Data validation in Silverlight

Hi,

Today we blogging another session on Input data validation on Silverlight. Having client side validation, make screen to be intuitive and more user friendly. We don’t have validation controls for silverlight controls by default, But silverlight provides us powerful interface, which does not the validation on input data. We got interface like IDataErrorInfo, INotifyDataErrorInfo . Unlike previous silverlight, rather than domain object throwing exceptions and setting ValidatesOnExceptions=True.We make use of these interface for validation of data and setting on XAML in NotifyOnValidationError=True. So with latest version of silverlight , we need not worry about throwing exception. We can have asynchronous validation on data entry.

Please check this recorded version on Validation Data

or

or

Presentation download from here
Data validation in Silverlight

Sample Demo Code
INotifyDataError

With Regards,
Mahender

Advertisements
Categories: Silverlight
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: