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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:





144372 May 2,2019 08:36 PM UTC May 6,2019 09:10 AM UTC WPF 1
Tags: SfBarcode
Asked On May 2, 2019 08:36 PM UTC

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

Sowmiya Loganathan [Syncfusion]
Replied On 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  


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon