Home > Programming > Silverlight Gotcha Of The Day

Silverlight Gotcha Of The Day

If you have an ItemsControl that is throwing an exception telling you the collection is read-only when you call Clear() on the Items property before resetting the data binding, try setting the ItemsSource property to null instead.

Categories: Programming Tags:
  1. No comments yet.
  1. No trackbacks yet.