VS Toolbox RadControls for Silverlight

19 posts, 1 answers
  1. Robert
    Robert  avatar
    68 posts
    Member since:
    Feb 2009

    Posted 03 Feb 2009 Link to this post

    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

  2. Answer
    Ben Hayat
    Ben Hayat avatar
    892 posts
    Member since:
    May 2008

    Posted 03 Feb 2009 Link to this post

    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
  3. DevCraft banner
  4. Robert
    Robert  avatar
    68 posts
    Member since:
    Feb 2009

    Posted 09 Feb 2009 Link to this post

    Which Telerik | RadControls For SL | Binaries | dll is necessary for the Cover Flow Control?

    Best regards, Rob
  5. Ben Hayat
    Ben Hayat avatar
    892 posts
    Member since:
    May 2008

    Posted 09 Feb 2009 Link to this post

    Telerik.Windows.Controls.Dll
    telerik.Windows.Controls.Navigation.Dll

    ..Ben
  6. Sundar
    Sundar avatar
    23 posts
    Member since:
    Jun 2008

    Posted 12 Feb 2009 Link to this post

    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

  7. Sundar
    Sundar avatar
    23 posts
    Member since:
    Jun 2008

    Posted 12 Feb 2009 Link to this post

    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
  8. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 12 Feb 2009 Link to this post

    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.
  9. Sundar
    Sundar avatar
    23 posts
    Member since:
    Jun 2008

    Posted 12 Feb 2009 Link to this post

    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
  10. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 12 Feb 2009 Link to this post

    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.
  11. Sundar
    Sundar avatar
    23 posts
    Member since:
    Jun 2008

    Posted 12 Feb 2009 Link to this post

    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
  12. Ben Hayat
    Ben Hayat avatar
    892 posts
    Member since:
    May 2008

    Posted 12 Feb 2009 Link to this post

    Sundar, did you add Telerik.Windows.Data to your project?

    ..Ben
  13. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 13 Feb 2009 Link to this post

    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.
  14. Kingsley Magnus-Eweka
    Kingsley Magnus-Eweka avatar
    54 posts
    Member since:
    Aug 2009

    Posted 11 Aug 2009 Link to this post

    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!
  15. Kingsley Magnus-Eweka
    Kingsley Magnus-Eweka avatar
    54 posts
    Member since:
    Aug 2009

    Posted 12 Aug 2009 Link to this post

    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.
  16. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 12 Aug 2009 Link to this post

    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.
  17. Henry Lee
    Henry Lee avatar
    3 posts
    Member since:
    Oct 2009

    Posted 16 Oct 2009 Link to this post

    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
  18. Sudip
    Sudip avatar
    2 posts
    Member since:
    May 2011

    Posted 08 Jul 2011 Link to this post

    Once I had the same issue and Reset on the ToolBox brought back the RadControl group. Strange #^#*#!
  19. Gary Paul
    Gary Paul avatar
    4 posts
    Member since:
    Jul 2012

    Posted 05 Jan 2012 Link to this post

    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!
  20. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 06 Jan 2012 Link to this post

    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 >>

Back to Top
DevCraft banner