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

RadControls for Silverlight 4 CTP

34 Answers 1565 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Telerik Admin
Top achievements
Rank 1
Iron
Telerik Admin asked on 14 Dec 2009, 12:13 PM

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

34 Answers, 1 is accepted

Sort by
0
Evan Hutnick
Top achievements
Rank 1
answered on 14 Dec 2009, 02:26 PM
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!)
0
Jim Sugrue
Top achievements
Rank 1
answered on 14 Dec 2009, 03:24 PM
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
0
Evan Hutnick
Top achievements
Rank 1
answered on 14 Dec 2009, 03:31 PM
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
0
Jim Sugrue
Top achievements
Rank 1
answered on 14 Dec 2009, 09:02 PM
Evan,

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

Jim
0
Ariel Ben Horesh
Top achievements
Rank 1
answered on 17 Dec 2009, 09:51 AM
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
0
Stefan Dobrev
Telerik team
answered on 23 Dec 2009, 08:49 AM
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.
0
Oleg
Top achievements
Rank 1
answered on 29 Dec 2009, 09:35 AM
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?
0
Vlad
Telerik team
answered on 29 Dec 2009, 09:40 AM
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.
0
Oleg
Top achievements
Rank 1
answered on 29 Dec 2009, 09:45 AM
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.
0
Missing User
answered on 29 Dec 2009, 11:57 AM
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.
0
lee_bnsf
Top achievements
Rank 1
answered on 04 Jan 2010, 09:58 PM
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:

0
Tooraj
Top achievements
Rank 1
answered on 04 Jan 2010, 10:13 PM
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

0
Evan Hutnick
Top achievements
Rank 1
answered on 05 Jan 2010, 01:03 PM
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
0
Evan Hutnick
Top achievements
Rank 1
answered on 05 Jan 2010, 01:14 PM
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
0
Tooraj
Top achievements
Rank 1
answered on 05 Jan 2010, 02:22 PM
Thanks Evan, it worked.
0
lee_bnsf
Top achievements
Rank 1
answered on 05 Jan 2010, 08:17 PM
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
0
Evan Hutnick
Top achievements
Rank 1
answered on 05 Jan 2010, 09:50 PM
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
0
Eric Lincoln
Top achievements
Rank 1
answered on 13 Jan 2010, 07:34 PM
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
0
Hristo
Telerik team
answered on 14 Jan 2010, 10:20 AM
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.
0
Eric Lincoln
Top achievements
Rank 1
answered on 16 Jan 2010, 01:19 AM
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
0
Stefan Dobrev
Telerik team
answered on 19 Jan 2010, 11:37 AM
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.
0
Iosu Buenetxea
Top achievements
Rank 1
answered on 22 Jan 2010, 10:08 AM
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!
0
Missing User
answered on 26 Jan 2010, 06:00 PM
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.
0
Iosu Buenetxea
Top achievements
Rank 1
answered on 26 Jan 2010, 08:40 PM
HI

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

And now it works!

Thanks!
0
jeffrey bk
Top achievements
Rank 1
answered on 29 Jan 2010, 07:47 AM
Will we be able to print a Rad Grid with Image columns ?
0
Vlad
Telerik team
answered on 29 Jan 2010, 09:29 AM
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.
0
danny
Top achievements
Rank 1
answered on 04 Mar 2010, 10:30 PM
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?
0
GEB
Top achievements
Rank 1
answered on 10 Mar 2010, 05:40 PM
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?
0
Charlie
Top achievements
Rank 2
answered on 10 Mar 2010, 08:26 PM
I have the same question as well about the Silverlight 4 Dlls
0
Nikolay
Telerik team
answered on 15 Mar 2010, 02:40 PM
Hi all,

We will be uploading RadControls for Silverlight 4 assemblies as soon as Microsoft officially announce the next Silverlight 4 version. We expect this announcement these days. Right after that we will blog about the availability of RadControls for Silverlight 4 built against the latest Silverlight official version. If it happens that you are attending MIX in Las Vegas right now you can check our booth for more details and demos. Otherwise keep an eye on blogs.telerik.com.

Sincerely yours,
Nick
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Iosu Buenetxea
Top achievements
Rank 1
answered on 16 Mar 2010, 12:26 AM
HI..
the SL4 rc is out.... Are you going to upload the radcontrols this week?

Thanks!
0
Valeri Hristov
Telerik team
answered on 17 Mar 2010, 12:19 PM
Hi JUAN,

The updated assemblies are already available in the downloads section of telerik.com:
http://www.telerik.com/account/downloads/product-versions/single-version.aspx?pmvid=2174&pid=0

Greetings,
Valeri Hristov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Mark McPherson
Top achievements
Rank 1
answered on 18 Mar 2010, 04:26 PM
After downloading the RadControls for Silverlight 4 and copying them to the VS Public Assemblies folder I get the following error when I try to complie a VS2010 SL4 program in which I have included the RadGridView Control

Error 1 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.

When I remove the RadGridView and delete all references to Telerik assemblies the program will compile successfully.

The error shown above is repeated for all the xaml files.

The reference to System.Windows shows a Version of 2.0.5.0 in the property viewer.
Is it possible that the PublicKeyToken referenced in the above message is not the same as the PublicKeyToken in
c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Windows.dll?

I added the RadGridView to the toolbox and dragged it onto the designer to produce the results outlined above.

Other Telerik RadControls for SL4 produce the same result.

Any suggestions on how to solve this would be appreciated.
0
Boyan
Telerik team
answered on 23 Mar 2010, 12:10 PM
Hello Mark McPherson,

First of all are you sure that you have created SL4 project and not SL3 as usually you are getting the exact same error in this case.  Also do you have our SL3 controls installed on the machine? There is some conflict when you have our SL3 controls installed and trying to use our SL4 assemblies and the error was similar.

Hope this helps. If the problem is still there please let me know and some info about VS 2010 version would be of help, is it RC or Beta2 etc.

Regards,
Boyan
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Telerik Admin
Top achievements
Rank 1
Iron
Answers by
Evan Hutnick
Top achievements
Rank 1
Jim Sugrue
Top achievements
Rank 1
Ariel Ben Horesh
Top achievements
Rank 1
Stefan Dobrev
Telerik team
Oleg
Top achievements
Rank 1
Vlad
Telerik team
Missing User
lee_bnsf
Top achievements
Rank 1
Tooraj
Top achievements
Rank 1
Eric Lincoln
Top achievements
Rank 1
Hristo
Telerik team
Iosu Buenetxea
Top achievements
Rank 1
jeffrey bk
Top achievements
Rank 1
danny
Top achievements
Rank 1
GEB
Top achievements
Rank 1
Charlie
Top achievements
Rank 2
Nikolay
Telerik team
Valeri Hristov
Telerik team
Mark McPherson
Top achievements
Rank 1
Boyan
Telerik team
Share this question
or