Hello,
i'm trying to use the UltraCode128Barcode-Control to display Barcodes. But unfortunately it's not working.
I've tried to realize this solution with different attributes. I tried it with UltraCode128Barcode control as well as by creating it manually by adding a Barcode() to the form.
I need to create Code128CodeType.Standard.
1.
/* http://help.infragistics.com/Help/Doc/WinForms/2016.1/CLR4.0/html/xamBarcode_Adding_Barcode_In_Code_Behind.html
var Barcode = new UltraCode128Barcode();
Barcode.Data = "(01)00653216546543";
Barcode.CodeType = Infragistics.Win.DataVisualization.Code128CodeType.Standard;
this.Controls.Add(Barcode);
*/
2.
ucb_Barcode.Data = "000000001236";
Can you please tell me how to get this barcode generation working with Infragistics?
Thanks in advance,
Jan
Hi Jan,
What, exactly, is "not working?"
I tried this out and it works fine for me. I have attached a small sample project using the code you posted here and it works for me. I am attaching my sample project here so you can take a look.
Hi Mike,
the code was not generated. But we got it working now. Problem was that we set the data for barcode control in constructor. Once I use a button click and set data again the control is working. Maybe this has some paint or initializeComponents issue.
Thank you for your support.
Alex
Thanks for the help, i will try to fix it