views:

352

answers:

2

I'm trying to figure out how to use POCO for silverlight use. I found an article that appears it will step me through the basics. However, it has in it a reference to the System.Windows.Ria.Controls. i don't have that on my machine.. i found System.Windows.Ria but not one that has teh control on it. I just downloaded teh RIA beta today and installed it.. so should have the latest and greatest. Anyway.. Here is the link to the article... link text

and here is the code in the xaml they refer to.

<UserControl x:Class="Try1Silverlight.MainPage"

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data" xmlns:riaControls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Ria.Controls" xmlns:domain="clr-namespace:Try1Silverlight.Web" mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">

<data:DataGrid x:Name="CustomerList"
      ItemsSource="{Binding Data, ElementName=CustomerSource}">
</data:DataGrid>

What have i done wrong that the Ria.Control is not there.
thanks shannon

A: 

well.. i figured it out... had to browse out to it in the add referrences.. was under C:\Program Files (x86)\Microsoft SDKs\RIA Services\v1.0\Libraries\Silverlight

sorry about that shannon

jvcoach23
A: 

The System.Windows.Controls.Ria assembly has been replaced by this assembly:

System.Windows.Controls.DomainServices

You can find a list of the breaking changes with the v1.0 release of WCF RIA Services right here.

Andrew Garrison