I downloaded the trial version of RadControls for Silverlight and I'm having problems loading the assemblies. I extracted the downloaded contents to My Documents and added a reference to the DLLs, and got this error:
Could not load file or assembly 'Telerik.Windows.Controls.Navigation, Version=2008.2.826.0, Culture=neutral, PublicKeyToken=9c7324f9b8e4111a' or one of its dependencies. The system cannot find the file specified.
I tried copying the DLLs to my bin directory and resetting the references but still got the same error. Does anyone know what could be the cause of this problem?
Thanks,
Daniel
20 Answers, 1 is accepted
Is it possible that you missed to update some of the assemblies? Telerik.Windows.Controls.Navigation.dll references Telerik.Windows.Controls.dll and Telerik.Windows.Data.dll, and you need to ensure that all Telerik assemblies are with the same version.
All the best,
Valeri Hristov
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.

I have this exact same problem:
"Could not load file or assembly 'Telerik.Windows.Controls.Navigation, Version=2008.3.1217.1020, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The system cannot find the file specified."
I downloaded the latest version and uninstalled/reinstalled what I was running from a few weeks ago to make sure. I referenced the DLL's in the project that is using them - both Telerik.Windows.Controls and Telerik.Windows.Controls.Navigation.
Based on what you said above, I also went ahead and referenced Telerik.Windows.Data.dll, even though I'm not referencing or using it in the xaml. Neither are you guys in your example xaml either though, so I don't think that's the issue.
If I type in the code-behind "using Telerik.Windows.Controls.Navigation" it doesn't see that. It sees controls, and controls.common, .dragdrop, .primitives and .tabcontrol, but doesn't see Controls.Navigation in intellisense, even though it is clearly referenced in the project.
Any ideas?
Could you please open a new support ticket and send us your test application? I think that this will be the fastest way to help you resolve the problem.
Regarding to the "Telerik.Windows.Controls.Navigation" namespace, we don't have such namespace. All controls from all assemblies are in Telerik.Windows.Controls, with small exceptions in other namespaces (such as Primitives), but everything you need should be in Telerik.Windows.Controls.
Regards,
Valeri Hristov
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.

However, I was referring to DLL's rather than namespaces in my last post. In your examples, you show the following ref in the xaml file:
xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
Which telerik DLLs should be referenced in the project specifically to work with the Telerik treeview? I have Telerik.Windows.Controls.dll and Telerik.Windows.Controls.Navigation.dll referenced, but the error would seem to indicate that there is some issue with it finding the second dll. However, the error message might be misleading... it wouldn't be the first time I've encountered that in Silverlight so far.
"Could not load file or assembly 'Telerik.Windows.Controls.Navigation, Version=2008.3.1217.1020, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The system cannot find the file specified."
The TreeView control is embedded into the Navigation assembly. I'm not sure what might be causing the error despite from the missing assemblies (which seem to be OK in your case) so I'll double Valeri asking you to submit a test project where the error can be reproduced. I'm sure we will find the reason for the error and get back to you with resolution.
Looking forward to hearing from you.
Greetings,
Konstantin Petkov
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.

TIA



Also running Prism and couldn't get the app to run.

Another solution is to use another program to extract the package, like 7-ZIP.


The build exception I was getting:
'Cannot resolve dependency to assembly 'Telerik.Windows.Data, Version=2011.1.419.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7'
because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the
ReflectionOnlyAssemblyResolve event. Line 77 Position 54.
after upgrading the assemblies to Q1 2011:

I paste the code from the Telerik demos into my own project and it builds but will not run.
I have fully licensed Telerik for WPF, Silverlight, Windows 7, VS2010, .NET 4 Client Profile.
I cannot use the RadSplitButton, the RadGridView in WPF solutions!
The demosinclude this in XAML:
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
I have added every single project reference that the demo includes, but still I get a run time error.
Could not load file or assembly 'Telerik.Windows.Controls, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The system cannot find the file specified.
What is going on? The following code builds but will not run.
I seem to run into this for multiple Telerik controls. Please help me learn how to make use of Telerik controls.
Thanks, Joe
<
UserControl
x:Class
=
"Pods.OrderEntry.Common.Controls.PodsPropertyEditorView"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
mc:Ignorable
=
"d"
d:DesignHeight
=
"30"
d:DesignWidth
=
"500"
xmlns:vm
=
"clr-namespace:Pods.OrderEntry.Common.Controls"
DataContext
=
"{x:Type vm:PodsPropertyEditorViewModel}"
ContentControl.FontFamily
=
"Arial"
ContentControl.FontSize
=
"10"
Background
=
"Transparent"
>
<!--xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"-->
<!--xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"-->
<
UserControl.Resources
>
</
UserControl.Resources
>
<
Grid
>
<
StackPanel
Orientation
=
"Horizontal"
Height
=
"22"
>
<!--Telerik.Windows.Controls-->
<
telerik:RadSplitButton
Content
=
"{Binding Path=ActionButtonContent, Mode=OneTime}"
Margin
=
"0,0,2,0"
Width
=
"110"
Command
=
"{Binding Path=ActionButtonCommand}"
IsEnabled
=
"{Binding Path=ActionButtonCommand.CanExecute, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}"
>
<
telerik:RadSplitButton.DropDownContent
>
<
ListBox
Name
=
"ItemsListBox"
Width
=
"185"
>
<
ListBoxItem
>
<
ListBoxItem.Content
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
TextBlock
Text
=
"Master Card"
Margin
=
"5 0 0 0"
VerticalAlignment
=
"Center"
/>
</
StackPanel
>
</
ListBoxItem.Content
>
</
ListBoxItem
>
<
ListBoxItem
>
<
ListBoxItem.Content
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
TextBlock
Text
=
"VISA"
Margin
=
"5 0 0 0"
VerticalAlignment
=
"Center"
/>
</
StackPanel
>
</
ListBoxItem.Content
>
</
ListBoxItem
>
</
ListBox
>
</
telerik:RadSplitButton.DropDownContent
>
<!--System.Windows.Interactivity-->
<
i:Interaction.Triggers
>
<
i:EventTrigger
EventName
=
"SelectionChanged"
>
<
i:InvokeCommandAction
Command
=
"{Binding ListBoxSelectionChangeCommand}"
CommandParameter
=
"{Binding ElementName=ItemsListBox, Path=SelectedItem}"
/>
</
i:EventTrigger
>
</
i:Interaction.Triggers
>
</
telerik:RadSplitButton
>
<
Border
BorderThickness
=
"1"
BorderBrush
=
"DarkGray"
Margin
=
"0,2"
>
<
TextBlock
Text
=
"{Binding Path=Payload, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
Width
=
"300"
VerticalAlignment
=
"Center"
/>
</
Border
>
<
CheckBox
Content
=
"{Binding Path=PrimaryPropertyCheckBoxContent, Mode=OneTime, FallbackValue='Primary', TargetNullValue='Primary'}"
ToolTip
=
"{Binding Path=PrimaryPropertyCheckBoxContentToolTip, Mode=OneTime, FallbackValue='', TargetNullValue=''}"
IsChecked
=
"{Binding Path=PrimaryPropertyCheckBoxValue, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
VerticalAlignment
=
"Center"
Margin
=
"2,0,2,0"
/>
<
Button
Width
=
"13"
Height
=
"13"
Margin
=
"2,0,2,0"
ToolTip
=
"{Binding Path=DeleteButtonToolTip, Mode=OneTime, FallbackValue='', TargetNullValue=''}"
>
<
Button.Background
>
<
ImageBrush
ImageSource
=
"{Binding Path=DeletePropertyImagePath, Mode=OneTime}"
/>
</
Button.Background
>
</
Button
>
</
StackPanel
>
</
Grid
>
</
UserControl
>
I've checked your account however didn't noticed any downloads. Can you clarify what version of our components you are using?
Kind regards,Vlad
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

I still have the same problem!
Could not load file or assembly 'Telerik.Windows.Controls, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The system cannot find the file specified.
Joe

I am on a team, from PODS in Clearwater Florida. My teammate downloaded the Telerik WPF install and shared it. I had no reason to download it myself.
We are using version is RadControls_for_WPF_35_2011_1_0419_Dev.msi
I just uninstalled Telerik, deleted the Telerik directory, restarted Windows7 and reinstalled Telerik.
I still have the same problem!
Could not load file or assembly 'Telerik.Windows.Controls, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The system cannot find the file specified.
I'm gonna have to get a support ticket opened. I cannot get my work done!
Joe

I have resolved my problem.
I added a Telerik RadSplitButton to a UserControl. When I added the UserControl to another UserControl, or a Window, it compiled but did not run. It turns out that dragging a Telerik control on my UserControl automatically added Visual Studio Project References that are helpful but hid the details from me. Once I determined the Telerik automatic Project Reference updates I documented them and can provide instructions for adding the necessary Project References when making use of our new UserControl.
Here’s my list of automatically added Project References for the RadSplitButton:
-
System.Configuration
-
Telerik.Windows.Controls, Version=2011.1.419.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7
-
UIAutomationProvider
-
UIAutomationTypes
I hope this helps someone.
Joe

Exit your solution. then do the following for each assembly you want to reference in your project.
ex.
gacutil /i Telerik.Windows.Controls.dll
make sure you run this in the telerik binaries directory, and make sure gacutil is available in the path... i used the VS command prompt, so it takes care of that part.
Now i know you can 'browse' for these files and include them in your project, but that wasn't working for me.

Doing gacutil /i Telerik.Windows.Controls.dll and gacutil /i Telerik.Windows.Controls.Navigation.dll
solved my problem....
Thanks guys

I was having the same problem. I just deleted all the Telerik references from my project and re-referenced them and it solved my problem. Hopefully this will help someone else out.
Lane