i may have a minor bug - visual studio reports that my domain context is not found but runs the code as expected. it may be cosmetic or an accident waiting to happen.
i created RadDomainDataSource
i added the xmlns entries:
i ran the code and get my data in a grid. when i use the corresponding microsoft controls - domaindatasource and grid - i do not get an error for a missing domain context.
this is in vs2012rc so you may not even consider this a valid defect and it may be microsoft's problem but i am not sure why telerik controls would generate the message but microsoft controls would not.
i created RadDomainDataSource
<
telerik:RadDomainDataSource
x:Name
=
"CustomerPurchasesDomainDataSource"
QueryName
=
"GetItems"
AutoLoad
=
"True"
PageSize
=
"10"
>
<
telerik:RadDomainDataSource.DomainContext
>
<
service:CustomerDomainContext
></
service:CustomerDomainContext
>
</
telerik:RadDomainDataSource.DomainContext
>
</
telerik:RadDomainDataSource
>
i added the xmlns entries:
xmlns:service="clr-namespace:CustomerSite.Web.Services"
i ran the code and get my data in a grid. when i use the corresponding microsoft controls - domaindatasource and grid - i do not get an error for a missing domain context.
this is in vs2012rc so you may not even consider this a valid defect and it may be microsoft's problem but i am not sure why telerik controls would generate the message but microsoft controls would not.