worry,worry...Why no one answer my question?

4 posts, 2 answers
  1. Starry
    Starry avatar
    59 posts
    Member since:
    Apr 2012

    Posted 22 May 2012 Link to this post

    Telerik   control  has  problem ?    Why no one answer my question?
    A simple example ,   why  do  so many warnings and mistakes?

    The  Xaml:
    <UserControl x:Class="SLTelerikDockingForth.MainPage"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        mc:Ignorable="d"
        d:DesignHeight="300" d:DesignWidth="400"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"         
                 >
        <Grid x:Name="LayoutRoot" Background="White">
            <telerik:RadDocking></telerik:RadDocking>
        </Grid>
    </UserControl>

    The Error:
           错误(Error) 22 The tag 'RadDocking' does not exist in XML namespace 'http://schemas.telerik.com/2008/xaml/presentation'. C:\Users\Administrator\Desktop\Test\SLTelerikDockingForth\SLTelerikDockingForth\MainPage.xaml 12 10 SLTelerikDockingForth

    The Warning:
     警告( Warning ) 1 未能解析主引用“Telerik.Windows.Controls.Docking”,因为它对 .NET Framework 程序集“mscorlib, Version=5.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e”具有间接依赖关系,而该程序集的版本为“5.0.5.0”,高于当前目标框架中的版本“2.0.5.0”。 SLTelerikDockingForth

    English meaning:
            Warning    1   Analytical Lord failed to quote  “Telerik.Windows.Controls.Docking” , Because the.net Framework assemblies    “mscorlib, Version=5.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e”     With indirect dependencies ,  And the program set version for "5.0.5.0"  ,    Higher than the current target framework version "2.0.5.0"  , SLTelerikDockingForth.
     
    There  are   21   such   warnings...
    Why??? 










          
  2. Answer
    Lancelot
    Lancelot avatar
    251 posts
    Member since:
    Jul 2012

    Posted 23 May 2012 Link to this post

    Hi Starry,

    There seems to be a problem with the referenced library, you would get this error if you have not added the necessary references to your solution.

    Make sure your project contains the following references:

    Telerik.Windows.Controls
    Telerik.Window.Controls.Docking
    Telerik.Windows.Controls.Navigation

    Also, I'm looking at the english translation of your error as stated by the "Analytical Lord". What version of Silverlight do you have installed on the machine (the error shows that you are running Silverlight version 2.05?) You'll need at least version 5.05 for the libraries you are trying to use.

    To do this you'll need to download and install the latest Silverlight 5 SDK (it is currently at version 5.0.61118.0, which will cover your needs). You can get it here http://www.microsoft.com/en-us/download/details.aspx?id=28359

    So try to add the correct Telerik references first. If that doesn't work, then install Silverlight 5. Reply if you need any additional help, I will stay subscribed to this thread.

    Good Luck!
    Lancelot
  3. Starry
    Starry avatar
    59 posts
    Member since:
    Apr 2012

    Posted 23 May 2012 Link to this post

    Thaks  a  lot...Lancelot,thank you...

    Yes , I guess is the version. What I use is Silverlight4, not Silverlight5. 
    When change Silverlight4 version with the time, the problem would not exist.

     But  RadControls's  official  website  only  Silverlight5  version  of ?   I  want  to  use Silverlight4 , not Silverlight5...

    In addition,  want   to   ask    "Rad   Controls   for    silverlight  "   whether   there     are   reports    control  ,   not   chart   Controls.
     
  4. Answer
    Lancelot
    Lancelot avatar
    251 posts
    Member since:
    Jul 2012

    Posted 24 May 2012 Link to this post

    Your welcome ;)

    You can still get the Silverlight 4 versions. Here's how:

    1. Click your name at the top of the site and select "Account Overview"
    2. Click on Manage Products and go to your downloads page (purchsed or free)
    3. In the RadControls for Silverlight box click "Download"
    4. You should end up on a page that looks like the screenshot I've attached.

    From there you can pick the Silverlight 4 assemblies. I still think you need to consider updating your PC's version of silverlight. Silverlight 5 will still run all your Silverlight 4 projects.

    Good Luck!

Back to Top