This is a migrated thread and some comments may be shown as answers.

RadGridView not recognized by name

1 Answer 71 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Alphons Mulders
Top achievements
Rank 1
Alphons Mulders asked on 29 Mar 2010, 07:57 AM
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)?

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 30 Mar 2010, 07:35 AM
Hi,

Can you post the entire page XAML and C#?

Best wishes,
Vlad
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Alphons Mulders
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or