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

Radgridview has become readonly

1 Answer 183 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Thomas
Top achievements
Rank 1
Thomas asked on 05 Mar 2012, 09:05 AM
Hello,

I have i big big problem using a RadGridView and Entity Framework. As recently everything worked fine, but sine I've configured the last column correctly, the whole grid has turn read only and I can't even select a row.

I'm afraid it will be terribly complicated to details here, but if you turn this into a support ticket I could send you a copy of the project.

But to try to describe it:
The form as a datasource:
            return from oo in this.DataContext.OnlineOrders
                   where oo.oo_Deleted == false
                   select oo;

The grid has a datasource which is a subentity (this.DataContext.OnlineOrders.OnlineOrdersLine) from the selection here above.

The first column is a GridViewComboBoxColum is receiving ("Another EF query").ToList() as datasource for list items. And always contains values.

The last column, the one that seems to have just started the problem is a GridViewComboBoxColumn receiving ("Yet another EF query").ToList() as datasource for list items. And always contains blank/null at the start.


(This kind of situation already revealed one or two bugs in the past that were corrected in the Q3 2011 and Q1 2012, as I was doing exactly what I need to do, but the RadGridView had some behavioural bugs when using the relatively new Microsfot .NET 'Entity Framework'. So I can't even be sure if it is my fault or RadGridView's.)

Thank you for you help.

1 Answer, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 08 Mar 2012, 09:55 AM
Hello Thomas,

Thank you for writing.

To address the issue, we will need your project. Please refer to the support ticket you have opened on the same topic.

Greetings,
Julian Benkov
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Tags
GridView
Asked by
Thomas
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Share this question
or