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

Latest Silverlight Viewer

3 Answers 37 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
MiddleTommy
Top achievements
Rank 1
MiddleTommy asked on 14 Sep 2010, 03:27 PM
When using the latest nightly silverlight components and the latest silverlight report viewer the report viewer cant find the radtoolbar control. The dll must be a different version. I guess I cant use the latest silverlight controls because I use the silverlight report viewer? Unless someone has a link to an awesome article on MEF, Silverlight and loading separate xaps on demand?

3 Answers, 1 is accepted

Sort by
0
MiddleTommy
Top achievements
Rank 1
answered on 14 Sep 2010, 07:44 PM
I found it
http://development-guides.silverbaylabs.org/Video/Silverlight-MEF
with this approach you could create a report app that dynamically loads with its own telerik controls separate from the main app.
Though you will have two copies of the telerik controls that have to be downloaded.
0
Steve
Telerik team
answered on 15 Sep 2010, 08:32 AM
Hi MiddleTommy,

I've attached a sample project using Telerik Reporting Q2 with the latest internal build of the Silverlight controls that works properly. Would appreciate if you modify it and comment what differs on your end.

Regards,
Steve
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
MiddleTommy
Top achievements
Rank 1
answered on 15 Sep 2010, 03:58 PM
Funny now it is working
your demo versions were
Viewer : 4.1.10.714
Controls: 2010.2.812.1040


I now have successfully used
Viewer: 4.1.10.729
Controls: 2010.2.903.1040

I believe it was a problem of using a minified assembly that didnt have the toolbar control in it. When I changed the project references to a new minified version with the toolbar or a full version the original minified version was not being replaced in the Bin folder because the assemblies had the same version. After clearing out the Bin folder and experimenting all works. I need to post on the Assembly Minifier forum about many problems I found with using minified assemblies.

So in conclusion this was a Visual Studio bug (or user misunderstanding) of how new references are copied compared to what already exists in the Bin folder.
Tags
General Discussions
Asked by
MiddleTommy
Top achievements
Rank 1
Answers by
MiddleTommy
Top achievements
Rank 1
Steve
Telerik team
Share this question
or