RadControls for Silverlight 4 CTP

35 posts, 0 answers
  1. Telerik Admin
    Telerik Admin avatar
    1691 posts
    Member since:
    Oct 2004

    Posted 14 Dec 2009 Link to this post

    Telerik announced today that RadControls for Silverlight 4 CTP is the first UI component suite to natively support Microsoft Silverlight 4 Beta and to provide support for the right mouse click feature introduced with the latest Microsoft Silverlight release.

    The Silverlight 4 Beta version delivers powerful capabilities to business application developers strengthening its position as the number one choice for building business applications on the Web. 

    RadControls ensure that developers can use RadControls for Silverlight 4 with the latest Silverlight version and start building their applications today.

    With the Silverlight 4 Beta release Microsoft announced support for conventional desktop interaction models through new features such as right-click context menu. RadControls for Silverlight 4 now benefit from this new addition and allow you to use RadContextMenu without enabling windowless mode.

    Note: This CTP version of RadControls for Silverlight 4 does not provide Toolbox support in VS 2010 Beta.

    The RadControls for Silverlight 4 assemblies are available as a single ZIP download under the users' accounts at:

    http://www.telerik.com/account.aspx

  2. Evan Hutnick
    Evan Hutnick avatar
    26 posts
    Member since:
    Sep 2008

    Posted 14 Dec 2009 Link to this post

    Hey all,

    In case anyone is as slow as I am on a Monday morning, one quick tip to get you playing with the Silverlight 4 goodness we've just put out.

    When you download the zip file for the SL4 build, be sure to right click on it and unblock the file.  Then extract it and feel free to add references to the assemblies from the folder you extracted to.  If you don't do this, you'll get a friendly VS2010 error message about unable to load remote assemblies, etc.. 

    Otherwise, I'm happy to say I'm going back and forth between this response and my VS2010 installation and playing with the controls now and everything is working great!

    -Evan

    (P.S.- This is the same note I put on the blog post, just figured some people might hit the forum and see this first so I wanted to put this here, too!)
  3. Jim Sugrue
    Jim Sugrue avatar
    4 posts
    Member since:
    Dec 2009

    Posted 14 Dec 2009 Link to this post

    Is the download available under trial licenses?  I am trying to do a quick proof of concept app using VS 2010 and Silverlight 4, but I am having problems (see http://www.telerik.com/community/forums/silverlight/general-discussions/could-not-load-file-or-assembly-system-core.aspx).  I was wondering if RadControls for SL 4 fixes the problem, but I don't see the download under my trial account.

    Thanks
  4. Evan Hutnick
    Evan Hutnick avatar
    26 posts
    Member since:
    Sep 2008

    Posted 14 Dec 2009 Link to this post

    Hey Jim,

    If you go to Trials, then under the RadControls for Silverlight main download link there should be another link that reads:

    "Silverlight 4 Build, DLLs, Source Code, Automatic Installation..." 

    When you go to this, it should be the last download available in the list.  If you're logged in, see if this direct link to the trial download works for you:

    http://www.telerik.com/downloads.aspx?fileid=10057&dispkey=True

    And to answer your question, this does fix that issue, however there is currently not toolbox support (as mentioned in this forum/related blog post).  So you can use this newest CTP in your SL4 project, but you'll have to get your hands dirty a tiny bit by writing the XAML for the controls by hand.  Otherwise, for working with SL3 in VS2010, you'd want to use the Q3 2009 SP1 release (and use the automatic installation).

    -Evan
  5. Jim Sugrue
    Jim Sugrue avatar
    4 posts
    Member since:
    Dec 2009

    Posted 14 Dec 2009 Link to this post

    Evan,

    This released did fix the problem I was having.  Thanks so much for your quick response!

    Jim
  6. Ariel Ben Horesh
    Ariel Ben Horesh avatar
    22 posts
    Member since:
    Dec 2009

    Posted 17 Dec 2009 Link to this post

    Congratulation on this CTP release.
    However I believe there is a bug when using RIA Services. I have first reported it in this thread : http://www.telerik.com/community/forums/silverlight/gridview/radgridview-does-not-work-properly-under-silverlight-3-ria-services.aspx
    and the bug was fixed for Silverlight 3.

    I suspect it found himself back into the CTP, because I am experiencing the same problem with SL4 and Ria Services.
    What do you think?
    Thanks,
    Ariel
  7. Stefan Dobrev
    Admin
    Stefan Dobrev avatar
    790 posts

    Posted 23 Dec 2009 Link to this post

    Hi Ariel,

    Currently we have some problems with DDS when its data has already been loaded. We have already addressed this in our code repository and the fix will be available in the next latest internal build. Please note that we will also release SL4 compatible binaries in this latest internal build.

    Kind regards,
    Stefan Dobrev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  8. Oleg
    Oleg avatar
    8 posts
    Member since:
    Sep 2009

    Posted 29 Dec 2009 Link to this post

    Hi All,

    When I add any telerik control to xaml and build solution I get an exception:
    Could not load file or assembly 'System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The system cannot find the file specified.

    How can it be fixed?
  9. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 29 Dec 2009 Link to this post

    Hello Oleg,

    Do you have our SL 4 binaries?

    Sincerely yours,
    Vlad
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  10. Oleg
    Oleg avatar
    8 posts
    Member since:
    Sep 2009

    Posted 29 Dec 2009 Link to this post

    Yes, I used RadControls for Silverlight 4 CTP. Furthermore, recently I tried to use RadControls_for_Silverlight_2009_3_1208 with VS 2010 and got the same exception.
  11. Missing user
    Missing user avatar

    Posted 29 Dec 2009 Link to this post

    Hello Oleg,

    Could you please take a look at the solution that is mentioned in this forum thread. It might work for your case as well.

    Sincerely yours,
    Anastasia
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  12. lee_bnsf
    lee_bnsf avatar
    16 posts
    Member since:
    Apr 2007

    Posted 04 Jan 2010 Link to this post

    Greetings!

    After switching to the SL4 build, I now get the following error during the InitializeComponent event of a user control that has the RadOutlookBar on it.  The RadOutlookBar has no items declared in the .xaml as I'm adding them programmatically.

    It works fine when I switch the references back to the SL3 components.

    Thanks!
    Lee

    System.Windows.Markup.XamlParseException occurred
      LineNumber=0
      LinePosition=0
      Message=System.NullReferenceException: Object reference not set to an instance of an object.
       at Telerik.Windows.Controls.RadOutlookBar.AttachResizeListener()
       at Telerik.Windows.Controls.RadOutlookBar..ctor() [Line: 0 Position: 0]
       --- Inner Exception ---
    Object reference not set to an instance of an object.

      StackTrace:
           at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
           at UDDashboard.MainPage.InitializeComponent()
           at UDDashboard.MainPage..ctor()
      InnerException: System.NullReferenceException
           Message=Object reference not set to an instance of an object.
           StackTrace:
                at Telerik.Windows.Controls.RadOutlookBar.AttachResizeListener()
                at Telerik.Windows.Controls.RadOutlookBar..ctor()
           InnerException:

  13. Tooraj
    Tooraj avatar
    2 posts
    Member since:
    May 2006

    Posted 04 Jan 2010 Link to this post

    I just downloaded the silverlight 4 CTP, got the following compilation error. any idea?

    Error 1 The "ValidateXaml" task failed unexpectedly.
    System.IO.FileLoadException: Could not load file or assembly 'file:///c:\Rad\Trial\Telerik.Windows.Controls.Charting.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
    File name: 'file:///c:\Rad\Trial\Telerik.Windows.Controls.Charting.dll' ---> System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.

       at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
       at System.Reflection.Assembly.LoadFrom(String assemblyFile)
       at Microsoft.Silverlight.Build.Tasks.ValidateXaml.XamlValidator.Execute(ITask task)
       at Microsoft.Silverlight.Build.Tasks.ValidateXaml.XamlValidator.Execute(ITask task)
       at Microsoft.Silverlight.Build.Tasks.ValidateXaml.Execute()
       at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
       at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean& taskResult)

     radTest1

  14. Evan Hutnick
    Evan Hutnick avatar
    26 posts
    Member since:
    Sep 2008

    Posted 05 Jan 2010 Link to this post

    Hey Tooraj,

    Be sure to follow the instructions from the second post in this thread (download, unblock the zip, then extract) before going to use the SL4 CTP controls in VS2010.  Otherwise you'll get this friendly error message from Visual Studio when you add the assemblies.

    -Evan
  15. Evan Hutnick
    Evan Hutnick avatar
    26 posts
    Member since:
    Sep 2008

    Posted 05 Jan 2010 Link to this post

    Hey Lee,

    Just out of curiosity, are you working in a SL3 or SL4 solution?  I just did a quick test with RadOutlookBar by both declaring it in XAML and creating it programatically and both worked just fine, provided I used the SL4 CTP controls in a SL4 solution.

    If this isn't the case, please submit a copy of the app giving you trouble with a support ticket and CC hutnick at telerik.com so I can take a closer look at what is happening in your scenario.

    Thanks!
    -Evan
  16. Tooraj
    Tooraj avatar
    2 posts
    Member since:
    May 2006

    Posted 05 Jan 2010 Link to this post

    Thanks Evan, it worked.
  17. lee_bnsf
    lee_bnsf avatar
    16 posts
    Member since:
    Apr 2007

    Posted 05 Jan 2010 Link to this post

    Hi Evan,

    It appears that the error only occurs when the RadOutlookBar is inside of a RadDocking\RadSplitContainer.  Much like this:

    <telerikDocking:RadDocking x:Name="docking">  
            <telerikDocking:RadSplitContainer InitialPosition="DockedLeft">  
                    <telerikDocking:RadPaneGroup> 
                            <telerikDocking:RadPane CanFloat="False" Padding="0" CanUserClose="False" Header="Environments">  
                                <telerikNavigation:RadOutlookBar x:Name="obEnvironments" Padding="15">  
                                      
                                </telerikNavigation:RadOutlookBar> 
                            </telerikDocking:RadPane> 
                    </telerikDocking:RadPaneGroup> 
                </telerikDocking:RadSplitContainer> 
                <telerikDocking:RadDocking.DocumentHost> 
                    <telerikDocking:RadSplitContainer> 
                        <telerikDocking:RadPaneGroup> 
                            <telerikDocking:RadPane CanUserClose="False">  
     
                            </telerikDocking:RadPane> 
                        </telerikDocking:RadPaneGroup> 
                    </telerikDocking:RadSplitContainer> 
                </telerikDocking:RadDocking.DocumentHost> 
            </telerikDocking:RadDocking> 

    Thanks,

    Lee
  18. Evan Hutnick
    Evan Hutnick avatar
    26 posts
    Member since:
    Sep 2008

    Posted 05 Jan 2010 Link to this post

    Hey Lee,

    Just tested that code in VS2010 / SL4 project and couldn't reproduce the error...  Are you using a SL3 project that you upgraded to SL4?  Otherwise what is the setup you are using this under?

    If possible, submitting a support ticket with a project demonstrating this error would probably help us to better identify what the issue might be. 

    -Evan
  19. Eric Lincoln
    Eric Lincoln avatar
    18 posts
    Member since:
    Jul 2009

    Posted 13 Jan 2010 Link to this post

    Stefan,
    Is there a estimate for when the next SL4 internal build will be available? I'm having the same problem as Ariel with loading the DDS generated by RIA Services 4.0 into the SL4 CTP RadGridView.

    Thanks,
    Eric
  20. Hristo
    Admin
    Hristo avatar
    408 posts

    Posted 14 Jan 2010 Link to this post

    Hi Eric,

    The next Silverlight 4 build will be shipped today or tomorrow. Please stay tuned.

    Sincerely yours,
    Hristo
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  21. Eric Lincoln
    Eric Lincoln avatar
    18 posts
    Member since:
    Jul 2009

    Posted 15 Jan 2010 Link to this post

    Stefan,
    FYI - I just downloaded and installed the latest Telerik SilverLight 4 release (2009.3.1314.1030). It still doesn't work when using the DDS generated by RIA Services. I get the same results originally reported by Ariel for the pre-SP1 Silverlight3 RadGridView: http://www.telerik.com/community/forums/silverlight/gridview/radgridview-does-not-work-properly-under-silverlight-3-ria-services.aspx.

    Thanks,
    Eric

    Please ignore. The latest Telerik SilverLight 4 release (2009.3.1314.1030) works as expected when using a DDS generated by RIA Services.

    Thanks,
    Eric
  22. Stefan Dobrev
    Admin
    Stefan Dobrev avatar
    790 posts

    Posted 19 Jan 2010 Link to this post

    Hello Eric,

    I have tested this scenario locally and it is working as expected. Maybe I'm missing something from your case. Can you please open a support ticket and attach a small sample application which illustrates the problem?

    Best wishes,
    Stefan Dobrev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  23. Iosu Buenetxea
    Iosu Buenetxea avatar
    91 posts
    Member since:
    Jan 2008

    Posted 22 Jan 2010 Link to this post

    Hi

    I'm using SL4 version RadControls_for_Silverlight4_2009_3_1314_DEV, I can add most of the Controls to the Toolbox, but when I try to add the "Telerik.Windows.Controls.GridView.dll" I get the error "could not load file os assembly "telerik.windows.controls.gridvew, version=2009.3.1313.1040, culture=neutral, publicToken5803cfa389c90ce7' or one of its dependencies...""

    I'm able to install most of the sl4 controls. including, telerik.windows.controls, charting, editor, gauge, data, schedule ....

    what's wrong?


    I have before instaled the SL3 version, but I have uninstall them.

    Thanks!
  24. Missing user
    Missing user avatar

    Posted 26 Jan 2010 Link to this post

    Hello JUAN CRESPO,

    Could you please take a look at the solution that is mentioned in this forum thread.

    I hope it will work for your case as well.

    All the best,
    Anastasia
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  25. Iosu Buenetxea
    Iosu Buenetxea avatar
    91 posts
    Member since:
    Jan 2008

    Posted 26 Jan 2010 Link to this post

    HI

    I copied all the zip contend to c:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\PublicAssemblies\

    And now it works!

    Thanks!
  26. jeffrey bk
    jeffrey bk avatar
    10 posts
    Member since:
    Jan 2010

    Posted 29 Jan 2010 Link to this post

    Will we be able to print a Rad Grid with Image columns ?
  27. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 29 Jan 2010 Link to this post

    Hello,

    Indeed in Silverlight 4 you will able to print images - you can check my blog on how to print the grid in SL4:
    http://blogs.telerik.com/vladimirenchev/posts/10-01-15/how_to_print_your_datagrid_or_any_uielement_on_multiple_pages_with_silverlight_4.aspx

    Regards,
    Vlad
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  28. danny
    danny avatar
    1 posts
    Member since:
    Dec 2007

    Posted 04 Mar 2010 Link to this post

    I need to go to the 2.0 reference assembly problem.  I went to the link and proceeded to add the Sl2 reference and it is not in the ProgramFiles/ReferencedAssemblies/Silverlight/2.0 folder, I only have 3 and 4 folders.  Anybody got an old file laying around?  My app is VS2010 and SL4 with RIA.  
      But seriously, for some reason when I add any Telerik assembly I get the missing System.Windows .dll error for every xaml page in the app, even the ones without the Telerik.  I have added the dlls (SL4) in the post and it  changed nothing.
      any clues?
  29. GEB
    GEB avatar
    228 posts
    Member since:
    Dec 2008

    Posted 10 Mar 2010 Link to this post

    Now that Q1 2010 has been released, I didn;t see a CTP version for SL4 on the doanload page.  Is there a native version for SL4 at this point, or should we continue to use the original CTP version of RadControls for Silverlight?
  30. Charlie
    Charlie avatar
    24 posts
    Member since:
    Jan 2009

    Posted 10 Mar 2010 Link to this post

    I have the same question as well about the Silverlight 4 Dlls
Back to Top