This is a migrated thread and some comments may be shown as answers.

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

3 Answers 88 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Starry
Top achievements
Rank 1
Starry asked on 22 May 2012, 01:03 PM
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??? 










      

3 Answers, 1 is accepted

Sort by
0
Accepted
Lancelot
Top achievements
Rank 1
answered on 23 May 2012, 05:46 PM
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
0
Starry
Top achievements
Rank 1
answered on 24 May 2012, 01:59 AM
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.
 
0
Accepted
Lancelot
Top achievements
Rank 1
answered on 24 May 2012, 03:40 PM
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!

Tags
General Discussions
Asked by
Starry
Top achievements
Rank 1
Answers by
Lancelot
Top achievements
Rank 1
Starry
Top achievements
Rank 1
Share this question
or