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

'Field' is not a member of Telerik.Windows.Controls.GridView.DesignTimeDB

1 Answer 21 Views
GridView
This is a migrated thread and some comments may be shown as answers.
jmillar
Top achievements
Rank 1
jmillar asked on 20 May 2009, 12:30 PM
Hi all;

First, I need to preface this by saying I'm a newbie when it comes to the WPF world.  But I'm having some trouble with the design time experience for WPF grid view.  Can anybody summarize how I can set up a design time experience that lets me work with the data I'll be using at runtime, so that I don't wind up with XML parser errors on the design surface, rather than a representation of my grid?

For example, if I set up a grid similar to the following:
    <Grid> 
        <telerik:RadGridView Margin="0" Name="radGridView1" AutoGenerateColumns="False"
            <telerik:RadGridView.Columns> 
                <telerik:GridViewColumn UniqueName="salesperson_name" IsVisible="False"/> 
            </telerik:RadGridView.Columns> 
            <telerik:RadGridView.GroupDescriptions> 
                <telerik:RadGroupDescription PropertyName="salesperson_name" SortDirection="Ascending"/> 
            </telerik:RadGridView.GroupDescriptions> 
        </telerik:RadGridView> 
    </Grid> 

I wind up with an Unhandled Exception on the design surface.

Thanks,
Jason


1 Answer, 1 is accepted

Sort by
0
Hristo Deshev
Telerik team
answered on 21 May 2009, 03:06 PM
Hello jmillar,

Now that's a strange coincidence: another customer reported this problem today, and we managed to fix it. We have delayed our SP2 release until Monday, and the fix will make it in that build.

Until then, you can work around the problem by setting your group descriptions in your code behind.

Best wishes,
Hristo Deshev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
GridView
Asked by
jmillar
Top achievements
Rank 1
Answers by
Hristo Deshev
Telerik team
Share this question
or