Silverlight Report dont show a basic barcode Report

9 posts, 2 answers
  1. Vuyiswa Maseko
    Vuyiswa Maseko avatar
    187 posts
    Member since:
    Jan 2010

    Posted 24 Mar 2011 Link to this post

    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
  2. Answer
    Steve
    Admin
    Steve avatar
    10941 posts

    Posted 24 Mar 2011 Link to this post

    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
  3. DevCraft banner
  4. Vuyiswa Maseko
    Vuyiswa Maseko avatar
    187 posts
    Member since:
    Jan 2010

    Posted 24 Mar 2011 Link to this post

    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
  5. Answer
    Steve
    Admin
    Steve avatar
    10941 posts

    Posted 24 Mar 2011 Link to this post

    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
  6. Vuyiswa Maseko
    Vuyiswa Maseko avatar
    187 posts
    Member since:
    Jan 2010

    Posted 25 Mar 2011 Link to this post

    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 
  7. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 25 Mar 2011 Link to this post

    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
  8. Vuyiswa Maseko
    Vuyiswa Maseko avatar
    187 posts
    Member since:
    Jan 2010

    Posted 25 Mar 2011 Link to this post

    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

  9. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 30 Mar 2011 Link to this post

    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
  10. Vuyiswa Maseko
    Vuyiswa Maseko avatar
    187 posts
    Member since:
    Jan 2010

    Posted 30 Mar 2011 Link to this post

    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
Back to Top
DevCraft banner