Suddenly my RadGridView components are not being recognized by name anymore.
I have a control name dgSearchResults:
<telerikGridView:RadGridView Name="dgSearchResults" |
AutoGenerateColumns="False" ItemsSource="{Binding}" |
ShowGroupPanel="False" RowIndicatorVisibility="Collapsed" |
Background="Black" MinWidth="220" ShowColumnHeaders="True" |
SelectionChanged="dgSearchResults_SelectionChanged"> |
I have a line of code in the xaml.cs file:
dgSearchResults.ItemsSource = lSR; |
But the compiler says:
The name 'dgSearchResults' does not exist in the current context.
What can be wrong here?
[edit]
I use the same component in another page in the same solution , there it is working..
[second edit]
I also found some extra info ont eh web:
So it could be a VS2010 RC problem. (Which I am using)?