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

VS Toolbox RadControls for Silverlight

18 Answers 880 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 03 Feb 2009, 08:50 PM
I installed the Telerik Rad Controls for Silverlight on my computer using the Windows Installer Package, and the controls do not appear in the Visual Studio 2008 Toolbox. 

Are additional steps required to place the Rad Controls for Silverlight in the Visual Studio 2008 Toolbox?

Thanks in advance! Rob

18 Answers, 1 is accepted

Sort by
0
Accepted
Ben Hayat
Top achievements
Rank 2
answered on 04 Feb 2009, 01:30 AM
Hi Robert;

While your toolbox is active, right click and select "Choose Items".
From Dialog box, click on Silverlight tab
On SL page, click on Browse button, navigate to Telerik | RadControls For SL | Binaries | Silverlight and select the dll you need. Repeat for each dll.
They should then appear on the toolbox.

Hope this helps!
..Ben
0
Robert
Top achievements
Rank 1
answered on 09 Feb 2009, 05:35 PM
Which Telerik | RadControls For SL | Binaries | dll is necessary for the Cover Flow Control?

Best regards, Rob
0
Ben Hayat
Top achievements
Rank 2
answered on 09 Feb 2009, 05:45 PM
Telerik.Windows.Controls.Dll
telerik.Windows.Controls.Navigation.Dll

..Ben
0
Sundar
Top achievements
Rank 1
answered on 12 Feb 2009, 08:08 AM
Hi,

Even i have the same question.
And I tried to add the controls manually using "Choose Items" but I got the following error.

There was an error loading types from assembly 'C:\Program Files\Telerik\RadControls for Silverlight Q3 2008\Binaries\Silverlight\Telerik.Windows.Controls.dll'

'Could not load file or assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The system cannot find the file specified.'

I have the installed the following
1. VS 2008 SP1
2. .NET Framework 3.5 SP1
3. Silverlight_Tools.exe
4. RadControls_for_Silverlight_2008_3_1217_TRIAL_Futures.msi

Thanks and regards
Sundar

0
Sundar
Top achievements
Rank 1
answered on 12 Feb 2009, 09:00 AM
I found the solution to this problem, it is due to the wrong tab i have selected while adding the dll. On selecting the "Silverlight Component" tab it worked.

Please refer to the below link
http://www.telerik.com/support/kb/silverlight/general/how-to-manually-install-the-telerik-radcontrols-for-silverlight-2-ctp-tools.aspx

But, I am facing another problem, even I have added the Telerik controls to the Toolbox, i am not able to see the controls in the preview pane in VS 2008. It says, 

Error HRESULT E_FAIL has been returned from a call to a COM component.

at MS.Internal.XcpImports.CheckHResult(UInt32 hr) at MS.Internal.XcpImports.RenderTargetBitmapRender(HostingRenderTargetBitmap bitmap, UIElement visual, Int32& dirtyX, Int32& dirtyY, Int32& dirtyWidth, Int32& dirtyHeight) at System.Windows.Interop.HostingRenderTargetBitmap.Render(UIElement visual) at MS.Internal.Silverlight.Host.RuntimeInterop.RenderElementToTargetBitmap(Int32 elementKey, Int32 targetBitmapIdentifier) at MS.Internal.Silverlight.Host.Interop.RenderElementToTargetBitmap(Int32 element, Int32 targetBitmapIdentifier, ISilverlightContentDownloadCallback urlcallback) at MS.Internal.Silverlight.Host.CiderSilverlightImageHost.CiderInternalImage.UpdateBitmap() at MS.Internal.Silverlight.Host.CiderSilverlightImageHost.CiderInternalImage.UpdateTree() at MS.Internal.Silverlight.Host.CiderSilverlightImageHost.CiderInternalImage.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.ContextLayoutManager.UpdateLayout() at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg) at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork() at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)

Error HRESULT E_FAIL has been returned from a call to a COM component.

at MS.Internal.XcpImports.CheckHResult(UInt32 hr) at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize) at System.Windows.FrameworkElement.MeasureOverride(Size availableSize) at Telerik.Windows.Controls.GridView.GridViewDataControl.MeasureOverride(Size availableSize) in r:\WPF_Scrum\SilverlightAll_Team\Sources\WPF\GridView\GridView\GridViewDataControl.cs:line 738 at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)


Any help would be great.

Thanks and regards
Sundar
0
Miroslav Nedyalkov
Telerik team
answered on 12 Feb 2009, 10:12 AM
Hello Sundar,

Could you please check whether you are trying to add the assemblies to the Silverlight tab. Please, check the attached screenshot.
Hope that helps.

Greetings,
Miroslav Nedyalkov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Sundar
Top achievements
Rank 1
answered on 12 Feb 2009, 11:25 AM
Hi Miroslav Nedyalkov,

Thanks for your response.
If you could check my last post i have mentioned that, the problem of adding the controls to the VS Toolbox is solved by adding it in the "Silverlight component" tab. Exactly as you mentioned. But my other problem is I am not able to view the controls in the preview pane. The error message is mentioned in my previous post.

Sundar
0
Miroslav Nedyalkov
Telerik team
answered on 12 Feb 2009, 02:37 PM
Hello Sundar,

It appeared that you were sending your solution while I was writing my reply.

About the new problem - this error is thrown when the project doesn't have a reference to the Telerik.Windows.Data assembly. The  references to the controls' assemblies are automatically added by the designer, but the reference to this one (Telerik.Windows.Data) is not. Simply add it and the problem should disappear.

Hope this helps.

Greetings,
Miroslav Nedyalkov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Sundar
Top achievements
Rank 1
answered on 12 Feb 2009, 06:25 PM
Hi Miroslav Nedyalkov ,

Thanks for your reply.
As per your suggestion, i have added the assembly reference to the Page.xaml file like below

 

 

<UserControl ...

 

 

xmlns

 

:telerikData="clr-namespace:Telerik.Windows.Data;assembly=Telerik.Windows.Data"

 

</UserControl>

but still i have the same error message displayed in the preview pane.

Thanks
Sundar
0
Ben Hayat
Top achievements
Rank 2
answered on 13 Feb 2009, 12:45 AM
Sundar, did you add Telerik.Windows.Data to your project?

..Ben
0
Miroslav Nedyalkov
Telerik team
answered on 13 Feb 2009, 12:26 PM
Hello Sundar,

Unfortunately, the problem is not only in the reference. The following post explains the other problem:
http://www.telerik.com/community/forums/silverlight/general-discussions/gridview-hresult-e-fail.aspx

Kind regards,
Miroslav Nedyalkov
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.
0
Kingsley Magnus-Eweka
Top achievements
Rank 1
answered on 11 Aug 2009, 03:33 PM
Hi I have also downloaded and installed the new telerik silverlight controls but i cant also seem to add it to my toolbox in visual studio 2008 when i try to do this i get a visual studio Message box error saying it cannot find the control reference dlls which i i can see directly in windows explorer i am running windows vista 64 bit machine, visual studio 2008 team system edition.
I had not problems installing its cousins the telerik controls for aspnet ajax controls worked like a charm! is there something i am missing  ?

I have followed all the posts regarding this topic before i got here, so before anyone asks me if i selected the silverlight component Tab i did as well as if i followed the refered link
http://www.telerik.com/support/kb/silverlight/general/how-to-manually-install-the-telerik-radcontrols-for-silverlight-2-ctp-tools.aspx

I have still i get the same problem! this visual studio msgbox error message:

could not load file or assembly 'system.windows version =2.0.5.0; culture neutral, public key token=7cec85d7bea7798e' or one of its dependecies.the system could not find the specified file.

even though i can see all my dlls where i intalled them  directly in windows explorer.

i am running windows vista 64 bit machine,
visual studio 2008 team system edition.
RadControl for Silverlight 2009_2_701_Dev

I had no problems installing its cousins the telerik controls for aspnet ajax controls worked like a charm!

can someone let me know if there is a way of solving this. I even went as far as to uninstall the telerik for silverlight and re-install them and re-tried but to no avail! Grrrrrrrrrr!!! Frustrating!
0
Kingsley Magnus-Eweka
Top achievements
Rank 1
answered on 12 Aug 2009, 02:02 PM
Hi All,
Finally figured it out i was using silverlight 2 SDK instead of silverlight 3SDK hence the references were unresolvable when accessing the controls.
0
Miroslav Nedyalkov
Telerik team
answered on 12 Aug 2009, 02:18 PM
Hi Kingsley,

I'm glad that you were able to resolve the issue yourself.

Regards,
Miroslav Nedyalkov
the Telerik team

Instantly find answers to your questions on the newTelerik Support Portal.
Check out the tipsfor optimizing your support resource searches.
0
Henry Lee
Top achievements
Rank 2
answered on 16 Oct 2009, 06:41 PM
I had exact same issues and went downloaded and installed latest vs 2008 sp1 silverlight 3 toolsets
http://www.microsoft.com/DOWNLOADS/details.aspx?familyid=9442B0F2-7465-417A-88F3-5E7B5409E9DD&displaylang=en
0
Sudip
Top achievements
Rank 1
answered on 08 Jul 2011, 05:06 AM
Once I had the same issue and Reset on the ToolBox brought back the RadControl group. Strange #^#*#!
0
Gary Paul
Top achievements
Rank 1
answered on 05 Jan 2012, 06:50 PM
I applied the December 2011 update and now my Toolbox is very messed up. Graphically there are odd lines in it and I can't select an item visually however I can drag from the tool box to my UserControl and get a random object!
I have rebooted my machine and also tried the Telerik\RadControls for Silverlight\Launch Toolbox Configurater to no avail!
0
Erjan Gavalji
Telerik team
answered on 06 Jan 2012, 09:35 AM
Hi Gary,

Did you try Resetting theTtoolbox (right-click the Toolbox and hit "Reset")?

Kind regards,
Erjan Gavalji
the Telerik team

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

Tags
General Discussions
Asked by
Robert
Top achievements
Rank 1
Answers by
Ben Hayat
Top achievements
Rank 2
Robert
Top achievements
Rank 1
Sundar
Top achievements
Rank 1
Miroslav Nedyalkov
Telerik team
Kingsley Magnus-Eweka
Top achievements
Rank 1
Henry Lee
Top achievements
Rank 2
Sudip
Top achievements
Rank 1
Gary Paul
Top achievements
Rank 1
Erjan Gavalji
Telerik team
Share this question
or