Breaking changes with Grid in Q1 2011?

2 posts, 0 answers
  1. rjmorton
    rjmorton avatar
    17 posts
    Member since:
    Aug 2006

    Posted 24 May 2011 Link to this post

    Did something change in the Q1 2011 release for datagrid that causes breaking changes?
    I just upgraded today, fired up a project that has been compiling and working flawlessly and I'm getting a huge amount of compilation errors around the Grid control.

    The main one that is significant is the following snippet:
    GridViewDataColumn oColorName = new GridViewDataColumn();
    oColorName.UniqueName = "ColorName";
    oColorName.HeaderText = "Color Name";
    radGridReport.Columns.Insert(6, oColorName);

    I'm getting a red squiggly under the 'new GridViewDataColumn()' with the following error:
    "Cannot create an instance of the abstract class or interface 'Telerik.WinControls.UI.GridViewDataColumn'"
  2. rjmorton
    rjmorton avatar
    17 posts
    Member since:
    Aug 2006

    Posted 24 May 2011 Link to this post

    Nevermind - seems we can't call:
    GridViewDataColumn oColorName = new GridViewDataColumn(); 
    directly anymore - need to use something like
    GridViewDataColumn oColorName = new GridViewTextBoxColumn(); 

    instead.


    sigh.....
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top