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
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
Best regards, Rob
telerik.Windows.Controls.Navigation.Dll
..Ben
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
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
Greetings,
Miroslav Nedyalkov
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
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
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.
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
..Ben
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.
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!
Finally figured it out i was using silverlight 2 SDK instead of silverlight 3SDK hence the references were unresolvable when accessing the controls.
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.
http://www.microsoft.com/DOWNLOADS/details.aspx?familyid=9442B0F2-7465-417A-88F3-5E7B5409E9DD&displaylang=en
I have rebooted my machine and also tried the Telerik\RadControls for Silverlight\Launch Toolbox Configurater to no avail!
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 >>