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

Error related to rad control "assembly"

6 Answers 262 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Amit
Top achievements
Rank 1
Amit asked on 30 Apr 2012, 08:29 AM
I have installed telerik controls and its controls are visible and enabled under toolbox.
Even added Telerik.Windows.Controls library.

Added one radcontrol under .xaml and also Included this under .xaml:

xmlns

:telerik="http://schemas.telerik.com/2008/xaml/presentation"

 

xmlns:telerikQuickStart="clr-namespace:Telerik.Windows.Controls.QuickStart;assembly=Telerik.Windows.Controls"

 
After running my silvelight app it is showing an error i.e:
The type or namespace name 'RadListBox' could not be found (are you missing a using directive or an assembly reference?)

What should i do now to resolve it?
I want to use telerik controls under my project!!

6 Answers, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 30 Apr 2012, 08:57 AM
Hello,

You do not need the quick start assembly at all. This assembly contains our examples and you don't really need to reference them.

As for the RadListBox, most probably you have added an incorrect assembly. Why don't you add the RadListBox from the Toolbox -- it will automatically add all needed assembly references.

Kind regards,
Ross
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Amit
Top achievements
Rank 1
answered on 30 Apr 2012, 09:31 AM
Thankyou sir for replying.
I added the control from toolbox, but still it is showing the same error.
What should i do now?

xmlns

:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"

 


After adding radpanelbar it is showing error as:
Error 16 The tag 'RadPanelBar' does not exist in XML namespace 'http://schemas.telerik.com/2008/xaml/presentation'.

It is also showing WARNINGS like this :  The primary reference "Telerik.Windows.Controls" could not be resolved because it has an indirect dependency on the .NET Framework assembly "System, Version=5.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" which has a higher version "5.0.5.0" than the version "2.0.5.0" in the current target framework. TutorialViewChangeEvents

0
Rossen Hristov
Telerik team
answered on 30 Apr 2012, 09:33 AM
Hi,

Please, send us the sample project that demonstrates your problem.

Kind regards,
Ross
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Amit
Top achievements
Rank 1
answered on 30 Apr 2012, 10:05 AM
I think i got it sir.
I am adding telerik control under my silverlight page.

Telerik works only underRadControlsSiverlight under newproject.
Am I right??
If I want to add RadControl under my curent silverlight page then what should i do?
0
Rossen Hristov
Telerik team
answered on 30 Apr 2012, 11:20 AM
Hello,

I am afraid that I cannot fully understand your question. Telerik controls are just controls like any other controls in the world.

They are in assemblies, i.e. DLL files.

If you want to use them -- you have to reference the correct assemblies. This is general .NET knowledge and I am not sure how is this related to Telerik in particular.

Thank you for your understanding.

Greetings,
Ross
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Amit
Top achievements
Rank 1
answered on 30 Apr 2012, 11:25 AM
Thnks for replying sir.
Now I know how to use it with no errors.
I configured my project to -> rightclick project-> RadControlsForSilverlight->Upgrade wizard and DONE.

Actually my Rad installed version was not matching with silverlight version, so i changed silverlight version to 5 .and it started running successfully!!

:) Thanks again for replying
Tags
General Discussions
Asked by
Amit
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Amit
Top achievements
Rank 1
Share this question
or