Silverlight Tips provides simple and useful tutorials and tips with real life examples, live demos and sample codes to download.
About authors:
Damon Serji
Damon Serji,
Silverlight developer working at Metia in London.
Gavin Wignall
Gavin Wignall,
Interactive Design Lead, working in design for over 10 years, the last 3 being in Silverlight.
Allan Muller
Allan Muller,
Developer, working on various types of Silverlight and WCF projects.
Recent comments

This post is very much a combination of my three previous posts (Silverlight QueryString using TryParse() method, Validate GUID in Silverlight – Parse GUID in C# and Extension methods in Silverlight and C#) to demonstrate all these great features in one place. I have also added an Extension method in this project to validate Date and Time using a simple Regular Expression, for better validation I suggest change the Regular Expression to match your specific needs.

I am not explaining the code for this project as each part is explained in details in the posts I mentioned above, but please do feel free to ask any questions in the comment section below and I will try to answer as soon as I can.

This project can be downloaded from CodePlex from here, and feel free to play with the working version of it below.

Get Microsoft Silverlight
Posted by Damon Serji on 7. October 2009 18:57 under: Intermediate, Intermediate
 with 1 Comments



I have a question about SL3 PagedCollectionView and wonder if you could help. I have the following code and the data enter on 1 page and copied over to another page on the same row number. Is this a bug? is there a workaround?

PagedCollectionView pagedCollectionView = new PagedCollectionView(e.Result);
dataGridBike.ItemsSource = pagedCollectionView;
dataForm1.ItemsSource = pagedCollectionView;

// populate employee info
ObservableCollection bikes = new ObservableCollection();
//PagedCollectionView bikeView = pagedCollectionView;
bikes = (ObservableCollection)pagedCollectionView.SourceCollection;

Posted 1/4/2010 4:55:12 AM

Add comment

(Will show your Gravatar icon)

  • Comment
  • Preview