Databinding to list<BusinessBase> in wpfDatabinding to list<BusinessBase> in wpf
Old forum URL: forums.lhotka.net/forums/t/4075.aspx
ajj3085 posted on Friday, December 21, 2007
Hi,
I'm trying to setup a CslaDataProvider in my xaml control, but hitting problems... I just don't know xaml well enough yet (can I read ~600 pages over xmas vacation? we'll see).
Here's what I have thus far:
<csla:CslaDataProvider
x:Key="PhoneData"
IsInitialLoadEnabled="False"
ObjectType="{x:Type system:List<RegistrationPhone>}"
/>
I've tried using System.Collections.Generic.List and Company.Software.RegistrationPhone, among other variations of that theme, but no joy. I get this error:
Error 2 The type reference cannot find a public type named 'List<RegistrationPhone>'. Line 232 Position 5. C:\source\MedSales\MedSales\Controls\RegistrationPhoneNumberChooser.xaml
Any ideas? I have xmlns' for the relevent assemblies.
Thanks
Andy
Copyright (c) Marimer LLC