Can be observed in the Barcode - Barcode Types online demo.
Barcode Type: Code128
Required Value: IEö6014649
Resulted Value: IE996014649
UPCE barcodes aren't recognized by scanners. Check digit is calculated incorrectly. Use 137350 ... should result in 01373501 where '0' and '1' are the numbers on the ends of the barcode. Many other barcode generating scripts will correctly output a UPCE barcode that scans with the correct check digit. Even when the correct code 01373501 is assigned to the radbarcode it re-assigns an incorrect check digit of '2' so the resulting code reads 01373502 and is not able to be read by the scanner
WORKAROUNDS: - set OutputType to SVG_VML - set ShowChecksum to false Sample problematic setups: <telerik:RadBarcode runat="server" ID="RadBarCode2" Text="238.339.6814" Type="Code93Extended" OutputType="EmbeddedPNG" ShowChecksum="true"></telerik:RadBarcode> <telerik:RadBarcode runat="server" ID="RadBarCode1" Text="238.339.6814" Type="Code93" OutputType="EmbeddedPNG" ShowChecksum="true"></telerik:RadBarcode>
Using an ampersand character in RadBarcode's Text leads to a server-side error. Replacing the symbol with its corresponding HTML entity allows the control to render its text successfully, but the generated image corresponds to the passed entity character.
If RadBarcode1.Text="&" the control generates this (read as "&"):
while it should be this (read as "&"):
When we generate the image by keeping ShowText = True, then it throws the exception.
When we generate the image by keeping ShowText = false, then it successfully generates the image.
Steps to reproduce:Run the following setup:ASPX: