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

Need Help to generate reports in Silverlight

3 Answers 43 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Prasad Pohnerkar
Top achievements
Rank 1
Prasad Pohnerkar asked on 25 Mar 2010, 07:01 AM
Hello,
I am new to Telerik Reporting.I want to use Reporting in silverlight.I found very less documentaion available for silverlight.
Can anybody send me some usefull links where i can get an complete example for silverlight with database connection and without database connection.

Thanks in advance !

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 26 Mar 2010, 03:43 PM
Hello Prasad Pohnerkar,

The easiest way to get started is to watch the Telerik Reporting Getting Started with the Silverlight Report Viewer video and use our Visual Studio Silverlight example solution as base.

For additional information please check the Silverlight Report Viewer help topics.

Sincerely yours,
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
Prasad Pohnerkar
Top achievements
Rank 1
answered on 29 Mar 2010, 06:27 AM
Hello,
Thanks for the reply.
I did watch the Telerik Reporting Video.And It was helpfull.
But i am getting an error.I am using VS 2010(Beta),Silverlight 4.
I have also tried this example in VS 2008,Silverlight 3.But i am getting the same error.
I was able to generate report in my class library using Telerik Reporting.
I have followed all the steps given in the video.I have put the following code in MainPage.xaml .

 <reportViewer:ReportViewer x:Name="xReportViewer" ReportServerUri="../ReportService.svc"   
Report="ReportLibrary.BasicReport, ReportLibrary , Version=1.0.0.0, Culture=neutral , PublicKeyToken=null">  
              
        </reportViewer:ReportViewer> 

But it is giving me an error...

throw

new Error("Unhandled Error in Silverlight 2 Application AG_E_UNKNOWN_ERROR [Line: 13 Position: 36] at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)\n at SilverlightViewer.MainPage.InitializeComponent()\n at SilverlightViewer.MainPage..ctor()\n at SilverlightViewer.App.Application_Startup(Object sender, StartupEventArgs e)\n at MS.Internal.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)\n at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)");

Please tell me where i am going wrong.I have followed the exact steps given in your video.

 

 

0
Massimiliano Bassili
Top achievements
Rank 1
answered on 29 Mar 2010, 01:06 PM
By the looks of your error it would seem that you're using Silverlight 2 SDK i.e.

Unhandled Error in Silverlight 2 Application

The Silverlight viewer works with Silverlight 3 and also uses RadControls for Silverlight, which have to be from the exact same release as the viewer i.e. you cannot use Silverlight viewer from Q3 with RadControls from Q1 etc.

Cheers
Tags
General Discussions
Asked by
Prasad Pohnerkar
Top achievements
Rank 1
Answers by
Steve
Telerik team
Prasad Pohnerkar
Top achievements
Rank 1
Massimiliano Bassili
Top achievements
Rank 1
Share this question
or