This question is locked. New answers and comments are not allowed.
Whenever I create a new RadGridView in my Project (UserControl) the DataContext seems to always bind to the same SampleData source I have in my project (as a "default" without me doing anything) ... in Common Properties (under Blend 4) it will display DataContext (MySampleData). There is nothing in XAML that indicates this binding so it appears to be inherited??
This starts to be a problem if I try Data Binding on ItemsSource for the RadGridView - Blend 4 will crash (unhandled exception) if I select any other SampleData (say "MyOtherSampleData") that isn't "MySampleData".
As a work around I have to manually enter DataContext="{Binding Source={StaticResource MyOtherSampleData}}" in XAML for the RadGridView -- BEFORE I attempt to Data bind the ItemSource.
Is this something I'm doing wrong or a bug with Blend 4 or a Bug with RadGridView?
Thanks, Rob.
This starts to be a problem if I try Data Binding on ItemsSource for the RadGridView - Blend 4 will crash (unhandled exception) if I select any other SampleData (say "MyOtherSampleData") that isn't "MySampleData".
As a work around I have to manually enter DataContext="{Binding Source={StaticResource MyOtherSampleData}}" in XAML for the RadGridView -- BEFORE I attempt to Data bind the ItemSource.
Is this something I'm doing wrong or a bug with Blend 4 or a Bug with RadGridView?
Thanks, Rob.
