Radgridview has become readonly

2 posts, 0 answers
  1. Thomas
    Thomas avatar
    34 posts
    Member since:
    Nov 2011

    Posted 05 Mar 2012 Link to this post

    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.
  2. Julian Benkov
    Admin
    Julian Benkov avatar
    1135 posts

    Posted 08 Mar 2012 Link to this post

    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 >>
Back to Top