Reference to System.Windows.Controls.Data V2.0.5.0 is missing

7 posts, 0 answers
  1. Telerik Admin
    Telerik Admin avatar
    1631 posts
    Member since:
    Oct 2004

    Posted 16 Feb 2009 Link to this post

    Problem:
    Reference to System.Windows.Controls.Data V2.0.5.0 is missing

    Solution:
    To solve the problem you should add a reference to the latest version of the System.Windows.Controls.Data assembly. The new  System.Windows.Controls.Data dll file is in the toolkit. It was released in December, 2008.

    To download the latest System.Windows.Controls.Data dll file and find additional info on the "Silverlight 2 DataGrid December 2008 Release " , please go to:

    http://blogs.msdn.com/scmorris/archive/2008/12/19/silverlight-2-datagrid-december-2008-release.aspx
  2. Jean-Christophe
    Jean-Christophe avatar
    4 posts
    Member since:
    Feb 2009

    Posted 03 Mar 2009 Link to this post

    Hello,

    I actually have exactly the opposite problem. I downloaded RadControls_for_Silverlight_2008_3_1217_TRIAL_Futures.msi and RadControls_for_Silverlight_2008_3_1217_TRIAL_Futures.zip, which were the only archives available under my account (we have started the purchase procedure for the RadControls suite, but for the moment we are still using the trial version till the procedure is complete) ; the System.Windows.Controls.Data.dll library is okay on my machine, it is the December 2008 version (2.0.31202.0). The Telerik.Windows.Controls.GridView.dll library has version 2008.3.1217.1020 and it still uses the version of System.Windows.Controls.Data.dll of 05/10/2008. This can be verified in two ways: first, the GridView control crashes and I see that in the exception details; secondly, if you look inside the Examples.CS.xap file that is located under C:\Program Files\Telerik\RadControls for Silverlight Q3 2008\Examples\Examples.CS\Bin\Debug\ (default installation of the "futures" setup package), you will see that the old library is still used, the Xap contains the version of October.

    Is it possible to have the latest build of the GridView control that makes use of the latest version of the System.Windows.Controls.Data.dll library ? I would be really grateful because the GridView control can absolutely not be used in our project.

    Thank you very much in advance.

    Jean-Christophe
  3. Hristo Deshev
    Admin
    Hristo Deshev avatar
    559 posts

    Posted 04 Mar 2009 Link to this post

    Hello Jean-Christophe,

    No problem. We have a policy for not posting unofficial builds in the forums, so please open up a separate support ticket and we will send the build to you.

    Greetings,
    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.
  4. Jean-Christophe
    Jean-Christophe avatar
    4 posts
    Member since:
    Feb 2009

    Posted 05 Mar 2009 Link to this post

    Oops thank you very much Hristo :-)
  5. Paul
    Paul avatar
    37 posts
    Member since:
    May 2009

    Posted 29 Jul 2009 Link to this post

    Hello,

    I'm working with the recently released Expression Blend 3, building a Silverlight 3 prototype using the new SketchFlow.  I want to include the Telerik gridview in the prototype and display the power of your grid to my stakeholders.  However, I've run into a problem that I think is related to what I see in this thread.

    My prototype packages and runs just fine until I drop your gridview control on a secondary screen and run it.  I get no build issues but when running and I navigate to a screen containing the gridview, I get the ctor error listed at the bottom of this reply.

    My configuration is:

     

    • Expression Blend 3
    • Silverlight 3 RTM
    • Visual Studio 2008 SP1
    • Telerik RadControls for Silverlight Q2 2009

    I still have Silverlight 2 and the v2 toolkit installed.

    My project references the following items from Telerik binaries Silverlight folder:

    • Telerik.Windows.Controls.dll
    • Telerik.Windows.Controls.GridView.dll
    • Telerik.Windows.Data.dll

     

    My project references these from Silverlight 3.0 libraries:

    • System.Windows.Data.dll
    • System.Windows.Controls.Data.dll
    • etc.

    When I try to add a reference to the System.Windows.Controls.Data.dll in the Telerik folder, it says it is already in the project (the SL 3 version).  The error seems to indicate the gridview is compiled against version System.Windows.Controls.Data 2.0.50.  Is there a way to get this working?


    ******************************************************************************************************

    Webpage error details

     

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; GTB6; SLCC1; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30618; FDM; MS-RTC LM 8; OfficeLiveConnector.1.4; OfficeLivePatch.1.3; .NET CLR 4.0.20506)

    Timestamp: Wed, 29 Jul 2009 15:45:44 UTC

     

    Message: Unhandled Error in Silverlight Application Could not load file or assembly 'System.Windows.Controls.Data, Version=2.0.5.0, Culture=neutral, PublicKeyToken=3d8c6023c75a3242' or one of its dependencies. The system cannot find the file specified.   at Telerik.Windows.Controls.GridView.GridViewDataControl.InitializeGroupCount()

       at Telerik.Windows.Controls.GridView.GridViewDataControl..ctor()

       at Telerik.Windows.Controls.RadGridView..ctor()

    Line: 1

    Char: 1

    Code: 0

    URI: http://localhost:5397/TestPage.html

     

    Message: Unhandled Error in Silverlight Application Exception has been thrown by the target of an invocation.   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)

       at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)

       at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)

       at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly)

       at System.Activator.CreateInstance(Type type, Boolean nonPublic)

       at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)

       at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)

       at System.Reflection.Assembly.CreateInstance(String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)

       at System.Reflection.Assembly.CreateInstance(String typeName)

       at Microsoft.Expression.Prototyping.Workspace.PlayerWindow.InstantiateScreen(String screen, Boolean showImmediately)

       at Microsoft.Expression.Prototyping.Workspace.PlayerWindow.TransitionScreens(String from, String to)

       at Microsoft.Expression.Prototyping.Navigation.NavigationViewModel.NavigateToScreen(String name, Boolean record)

    Line: 1

    Char: 1

    Code: 0

    URI: http://localhost:5397/TestPage.html

     ******************************************************************************************************

     

  6. Paul
    Paul avatar
    37 posts
    Member since:
    May 2009

    Posted 29 Jul 2009 Link to this post

    Hello ... Paul from Minneapolis again,

    I see that the SL 3-compiled version of your controls is yet to be released according to this post.  If this is the cause of my issue, then I'll wait impatiently (err ... patiently).  ;)

    Thanks,
    Paul

  7. Paul
    Paul avatar
    37 posts
    Member since:
    May 2009

    Posted 29 Jul 2009 Link to this post

    Hello,

    Got this working ... I downloaded the beta bits, copied over the existing Telerik binaries and I can build and run my SketchFlow prototype and display a GridView control.

    Thx,
    Paul from Minneapolis
Back to Top