We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

SFBarcode Databinding and setting the Text property in code behind don't work

I want to use the SfBarcode control to display a code 128a Barcode and it work if I set the Text Property to any text in Xaml, but if I set the text  property to {Binding Sale.Id} or set the Text Property to any value in code Behind the Barcode  is not rendered.

i'm using .net framework 4.7.1 on windows 10 64 bits with Visual Studio 2017

1 Reply

SL Sowmiya Loganathan Syncfusion Team May 6, 2019 09:10 AM UTC

Hi Jesus,  

Greetings from Syncfusion.  

We have analysed the issue which you have mentioned. As per the specification of Code128A barcode, it supports only [0-9] [A-Z] and other symbols. Please refer the below UG documentation link for more details,  

We have checked with the sample to render the barcode (Code128A) in XAML and code behind, it works fine in our end. Please find the sample for the same from below,  

Note: Code128A barcode does not supported the character for lower cases(like “xyz”).  

Kindly try the above sample in your end and let us know if it solves the issue. 

Sowmiya L  

Live Chat Icon For mobile
Up arrow icon