AG_E_UNKNOWN_ERROR [Line: 16 Position: 59]

1 posts, 0 answers
  1. David Sandor
    David Sandor avatar
    16 posts
    Member since:
    May 2009

    Posted 08 Jul 2009 Link to this post

    I have been using RAD Controls for WPF for some time now without trouble.  However I installed RAD Controls for SL Q2 2009 and I am having a problem.

    First, nothing was installed into my Toolbox in my VS 2008 IDE.  So, I found the SL binaries and added them to the toolbox manually.  RadGridView showed up.. 

    Drag and drop into the XAML adds:


    Then the XAML is added:


    This errors immediately with the AG_E_UNKNOWN_ERROR.  

    --- This environment has VS 2010 installed and Silverlight 3 components installed.
    So I downloaded the internal build for SL3 (Q1 2009) and referenced that .dll for the rad grid and tried it again with the same error.  Any clue what is going on here?  I can't use any telerik components for SL.. only the Control Toolkit published on codeplex works.


    EDIT:  For fun, I loaded up VS 2010 and created a new SL3 Application project.  Referenced the GridView assembly from the Telerik Q1 2009 SL3 Internal build 622.  Drag RadGridView onto a blank grid in the fresh new SL app (Page.xaml) and a message box appears:  Value cannot be null.  Parameter name: childOrDescendant

    EDIT EDIT:  Fixed it... When you drag and drop RadGridView from the toolbox to the canvas (Grid) it only adds an assembly reference to Telerik.Windows.Controls.GridView.  I also referenced Telerik.Windows.Controls and Telerik.Windows.Data (not sure which one was needed but I added both) and it is working now.
Back to Top