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

Not show the barcode

13 Answers 196 Views
Barcode
This is a migrated thread and some comments may be shown as answers.
Aurelio Righetti
Top achievements
Rank 1
Aurelio Righetti asked on 24 May 2012, 08:16 PM
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

13 Answers, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 25 May 2012, 10:37 AM
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
0
Aurelio Righetti
Top achievements
Rank 1
answered on 26 May 2012, 12:43 PM
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
0
Vasil
Telerik team
answered on 28 May 2012, 09:45 AM
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.
0
Aurelio Righetti
Top achievements
Rank 1
answered on 28 May 2012, 01:00 PM
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
0
Vasil
Telerik team
answered on 28 May 2012, 01:47 PM
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.
0
Aurelio Righetti
Top achievements
Rank 1
answered on 28 May 2012, 02:00 PM
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
0
Aurelio Righetti
Top achievements
Rank 1
answered on 28 May 2012, 02:17 PM
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
0
Vasil
Telerik team
answered on 28 May 2012, 03:07 PM
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.
0
Aurelio Righetti
Top achievements
Rank 1
answered on 28 May 2012, 04:51 PM
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
0
Vasil
Telerik team
answered on 29 May 2012, 07:51 AM
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.
0
Aurelio Righetti
Top achievements
Rank 1
answered on 29 May 2012, 08:41 PM
Hi..Vasil..
Ok ...no problem

Thanks
Aurelio
0
Aurelio Righetti
Top achievements
Rank 1
answered on 15 Jun 2012, 12:13 PM
HI.. on the last official release, it's work ok.

Thanks
Aurelio
0
Vasil
Telerik team
answered on 15 Jun 2012, 12:38 PM
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.
Tags
Barcode
Asked by
Aurelio Righetti
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Aurelio Righetti
Top achievements
Rank 1
Vasil
Telerik team
Share this question
or