Not show the barcode

14 posts, 0 answers
  1. Aurelio Righetti
    Aurelio Righetti avatar
    51 posts
    Member since:
    May 2009

    Posted 24 May 2012 Link to this post

    Hi, i have install the Beta version 2012_2_522, drag the component barcode in the aspx page, but the barcode not show, i see the text but note the line of the barcode...

    <telerik:RadBarcode runat="server" Text="*123422*" Type="Code39"
               ShowChecksum="False">
           </telerik:RadBarcode>

    Even in the examples that are installed is the same problem

    Thanks
    Aurelio
  2. Jayesh Goyani
    Jayesh Goyani avatar
    2732 posts
    Member since:
    May 2010

    Posted 25 May 2012 Link to this post

    Hello,

    I tried with code and its works correct.

    <telerik:RadBarcode ID="RadBarcode1" runat="server" Text="*123422*" Type="Code39"
                ShowChecksum="False"></telerik:RadBarcode>

    Note : Please re-install telerik beta version and check again.


    Thanks,
    Jayesh Goyani
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Aurelio Righetti
    Aurelio Righetti avatar
    51 posts
    Member since:
    May 2009

    Posted 26 May 2012 Link to this post

    HI, i have reinstall the package 'Telerik.Web.UI_2012_2_522_Dev.msi' , but the result not change..
    I have a OS W7 Ultimate x64.

    Thanks
    Aurelio
  5. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 28 May 2012 Link to this post

    Hello Aurelio,

    What browser do you use for opening the page? Did you tried with different one and what was the result?

    All the best,
    Vasil
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  6. Aurelio Righetti
    Aurelio Righetti avatar
    51 posts
    Member since:
    May 2009

    Posted 28 May 2012 Link to this post

    HI..Vasil, i test the example on: IE9, FireFox 12.0, Chrome 19, but the result is equal...

    The new component HTMLCHART work, only the PieChart not work, not appear.

    The new component ODataDataSource, the first example not work, the example ODataDataSource / Integration with RadListView see to work, the data in the grid appear.

    Thank
    Aurelio
  7. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 28 May 2012 Link to this post

    Hello Aurelio,

    Strange really if it does not appear in any browser, it probably is some server side error and the svg is not rendered at all.
    Could you test it in the online beta demos here:
    http://demos.telerik.com/aspnet-ajax-beta/barcode/examples/firstlook/defaultcs.aspx
    And see if you will get different behaviour.

    Kind regards,
    Vasil
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  8. Aurelio Righetti
    Aurelio Righetti avatar
    51 posts
    Member since:
    May 2009

    Posted 28 May 2012 Link to this post

    HI. Vasil...
    In the demo http://demos.telerik.com/aspnet-ajax-beta/barcode/examples/firstlook/defaultcs.aspx it's work OK in any Browser...
    At this point it seems that the problem is the ASP.NET Development Server, i investigate on this..

    Thanks
    Aurelio
  9. Aurelio Righetti
    Aurelio Righetti avatar
    51 posts
    Member since:
    May 2009

    Posted 28 May 2012 Link to this post

    Hi, with IE9, if set the compatibility View (button in IE9 on the field Url), the barcode appear ok...
    This function is avaible only in IE, in chrome  and Firefox actualy the barcode not appear.....(mystery)

    Thank
    Aurelio
  10. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 28 May 2012 Link to this post

    Hello Aurelio,

    In compatibility view(and for the older browsers like IE7 and IE8) the SVG markup in the page gets converted to VML dynamically client side using some JavaScript.
    This means that the SVG is already transferred to the client, since it is converted successfully in these browsers. So the problem is not in the development server.
    You can try to use some developers tools for Firefox like FireBug to inspect the elements and see if the barcode is actually rendered on the page.

    I am not sure if the svg as vector format depends on some gpu acceleration that the browsers can use. If so, missing video drivers could cause problems, but it would happen when viewing both online and local demos. Just throwing ideas here, not really sure what can cause the SVG in one page to be non visible and in the same page opened from live to be visible.

    Greetings,
    Vasil
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  11. Aurelio Righetti
    Aurelio Righetti avatar
    51 posts
    Member since:
    May 2009

    Posted 28 May 2012 Link to this post

    Hi..Vasil, i update the drivers video, but the result not change, i trace the page with firebug, the component is load and rendering in the page..
    <span id="RadBarcode1" class="RadBarcode" style="display:inline-block;font-size:16px;height:150px;width:300px;">
    <svg height="100%" width="100%" version="1.1" xmlns="http://www.w3.org/2000/svg">
    <rect style="fill:rgb(0,0,0)" height="90%" width="1,851852%" y="0%" x="0%">
    <rect style="fill:rgb(0,0,0)" height="90%" width="3,703704%" y="0%" x="3,703704%">
    <rect style="fill:rgb(0,0,0)" height="90%" width="1,851852%" y="0%" x="11,11111%">
    <rect style="fill:rgb(0,0,0)" height="90%" width="3,703704%" y="0%" x="14,81481%">
    <rect style="fill:rgb(0,0,0)" height="90%" width="1,851852%" y="0%" x="20,37037%">
    <rect style="fill:rgb(0,0,0)" height="90%" width="3,703704%" y="0%" x="24,07407%">
    <rect style="fill:rgb(0,0,0)" height="90%" width="1,851852%" y="0%" x="29,62963%">
    <rect style="fill:rgb(0,0,0)" height="90%" width="1,851852%" y="0%" x="35,18518%">
    <rect style="fill:rgb(0,0,0)" height="90%" width="3,703704%" y="0%" x="38,88889%">
    <rect style="fill:rgb(0,0,0)" height="90%" width="3,703704%" y="0%" x="44,44445%">
    <rect style="fill:rgb(0,0,0)" height="90%" width="1,851852%" y="0%" x="51,85185%">
    <rect style="fill:rgb(0,0,0)" height="90%" width="1,851852%" y="0%" x="55,55556%">
    <rect style="fill:rgb(0,0,0)" height="90%" width="1,851852%" y="0%" x="59,25926%">
    <rect style="fill:rgb(0,0,0)" height="90%" width="3,703704%" y="0%" x="62,96296%">
    <rect style="fill:rgb(0,0,0)" height="90%" width="3,703704%" y="0%" x="68,51852%">
    <rect style="fill:rgb(0,0,0)" height="90%" width="3,703704%" y="0%" x="74,07408%">
    <rect style="fill:rgb(0,0,0)" height="90%" width="1,851852%" y="0%" x="79,62963%">
    <rect style="fill:rgb(0,0,0)" height="90%" width="1,851852%" y="0%" x="83,33333%">
    <rect style="fill:rgb(0,0,0)" height="90%" width="1,851852%" y="0%" x="87,03704%">
    <rect style="fill:rgb(0,0,0)" height="90%" width="3,703704%" y="0%" x="90,74074%">
    <rect style="fill:rgb(0,0,0)" height="90%" width="1,851852%" y="0%" x="98,14815%">
    <text text-anchor="middle" y="100%" x="50%">12349</text>
    </svg>
    </span>
    </div>
    but the line is not visible.

    I have found the problem, it's the separator of number, if change witdh firebug the "," width "." the line is draw. (width="1,851852%" change to width="1.851852%" x="98,14815%" to x="98.14815%" the line appear.


    thank
    Aurelio
  12. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 29 May 2012 Link to this post

    Hi Aurelio,

    I can confirm that this is a bug in Radbarcode, when creating these strings numbers are formatted to string without specifying a culture, which will means that the current server culture is used. I our server the culture is US and the decimal separator by default is '.' So in SVG's that are rendered from our online demos strings are like width="1.851852%". But in your server, the culture has comma as separator and the SVG is rendered wrong. We will review the code of PieChart for the same issue as well.

    We will fix this for the official release so the Barcode's rendering to be independent of the server's culture. Thank you for helping is solving this, as appreciation i am updating your telerik points.

    Greetings,
    Vasil
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  13. Aurelio Righetti
    Aurelio Righetti avatar
    51 posts
    Member since:
    May 2009

    Posted 29 May 2012 Link to this post

    Hi..Vasil..
    Ok ...no problem

    Thanks
    Aurelio
  14. Aurelio Righetti
    Aurelio Righetti avatar
    51 posts
    Member since:
    May 2009

    Posted 15 Jun 2012 Link to this post

    HI.. on the last official release, it's work ok.

    Thanks
    Aurelio
  15. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 15 Jun 2012 Link to this post

    Hi Aurelio,

    Thank you for your feedback.

    Regards,
    Vasil
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017