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

Silverlight Report dont show a basic barcode Report

8 Answers 71 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Vuyiswa
Top achievements
Rank 2
Vuyiswa asked on 24 Mar 2011, 05:46 AM
Good Day All

i am using Silverlight Reporting. i have tried to follow the demo example many times , just to display a barcode report that is not even connected to the database, but i could not. I have attached the example project that fails. So basically i have a class library that has a report and and i have a Silverlight app that has a asp.net or html project that host the silverlight, and i have created a service from the web app and and i have referenced the report from there. but still the barcode dont show.

Please find the attached project

http://www.vuyiswamaseko.com/Report2.zip

Thanks

8 Answers, 1 is accepted

Sort by
0
Accepted
Steve
Telerik team
answered on 24 Mar 2011, 01:38 PM
Hello Vuyiswa,

You have not configured properly the Telerik Reporting WCF Service. For more information please refer to the Hosting WCF Service in IIS help article. Namely the Service attribute in ServiceHost was not configured correctly.

Greetings,
Steve
the Telerik team
0
Vuyiswa
Top achievements
Rank 2
answered on 24 Mar 2011, 01:55 PM
i am sure if i understand what you mean , but one more thing, is that i did not host the service. i have it in my project as you have seen. Do i need to host it or cassini will run it like the app in debug mode ?

Thanks
0
Accepted
Steve
Telerik team
answered on 24 Mar 2011, 02:02 PM
Hello Vuyiswa,

The only thing you need to change is the Service attribute in ReportService.svc. It should be:

<%@ServiceHost Service="Telerik.Reporting.Service.ReportService, Telerik.Reporting.Service, Version=5.0.11.316, Culture=neutral, PublicKeyToken=A9D7983DFCC261BE" %>


Regards,
Steve
the Telerik team
0
Vuyiswa
Top achievements
Rank 2
answered on 25 Mar 2011, 06:17 AM
Thank you very much , that Resolved my problem. Please clear my assumptions.

1) A Barcode can represent data.

2)  Now the Barcode control in the Reports has a property called "Value" now Can we uniquely generate that barcode number, is there a build in function in the Reports to do that ?

Kind Regards

Vuyiswa 
0
Steve
Telerik team
answered on 25 Mar 2011, 08:36 AM
Hi Vuyiswa,

As explained in the Barcode help article: "The BarCode report item is used for automatic BarCode generation directly from a numeric or character data". I believe this sentence answers both of your questions.

Regards,
Steve
the Telerik team
0
Vuyiswa
Top achievements
Rank 2
answered on 25 Mar 2011, 08:41 AM
Thank you for your reply. So that means i need to Generate my numbers and pass them to the report myself ?

My Company just bought the Telerik Software that includes Silverlight, i think there are 3 companies that i worked for who bought your software alas.

Last Question , can you please explain or point me to an article where you used paramterised queires to show a barcode based on the string barcode that is stored in the db.

Thanks

0
Steve
Telerik team
answered on 30 Mar 2011, 04:48 PM
Hi Vuyiswa,

A working example of Barcode item that is bound to a database column is our Product Tags report.

Best wishes,
Steve
the Telerik team
0
Vuyiswa
Top achievements
Rank 2
answered on 30 Mar 2011, 05:08 PM
Thank you very much for your reply. I now understand how it how it works. i have asked some few questions. can you help me asnwer them , i have a demo tomorow, i just need to get them working.

http://www.telerik.com/community/forums/reporting/telerik-reporting/refresh-a-silverlight-report.aspx


http://www.telerik.com/community/forums/reporting/telerik-reporting/barcode-does-not-appear-in-a-silverlight-reporting.aspx

Thanks
Tags
General Discussions
Asked by
Vuyiswa
Top achievements
Rank 2
Answers by
Steve
Telerik team
Vuyiswa
Top achievements
Rank 2
Share this question
or