RadGridView not recognized by name

2 posts, 0 answers
  1. Alphons Mulders
    Alphons Mulders avatar
    8 posts
    Member since:
    Dec 2009

    Posted 29 Mar 2010 Link to this post

    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" 

    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?

    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)?

  2. Vlad
    Vlad avatar
    11100 posts

    Posted 30 Mar 2010 Link to this post


    Can you post the entire page XAML and C#?

    Best wishes,
    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.
Back to Top