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

How to encode TAB key to barcode control, font code128 ?

1 Answer 1633 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Vasssek
Top achievements
Rank 1
Vasssek asked on 26 Mar 2013, 02:04 PM
Hello,

is it possible to encode special characters like TAB key, ENTER key or CTRL+some key combination to barcode control in report, which uses font CODE128 ? I haven't found any relevant example. As far as I know, for example 3 of 9 barcode uses special character for TAB key like $I

Example can be also in Code39Extended barcode format. I've tried it, but Value = "$I" is still represented as text not TAB...

Please help me to solve this issue.

Best regards

Vasssek

1 Answer, 1 is accepted

Sort by
0
Accepted
Chavdar
Telerik team
answered on 29 Mar 2013, 12:23 PM
Hi,

The Barcode item will render successfully the TAB character as long as it is present in the char sequence. If you are setting the barcode value programatically you can use different approaches. For example:
  1. this.barcode1.Value = "10002" + Convert.ToChar(9) + "30004";
  2. this.barcode2.Value = "10002\t30004";
  3. this.barcode3.Value = "10002\u000930004";

If you want to enter the TAB character in the Expression Editor, you can do this by pressing the ALT key and typing 009 from the numeric pad. The same is applicable to the other special characters as well.

I hope this helps.

Greetings,
Chavdar
the Telerik team

Telerik Reporting Q1 2013 available for download with impressive new visualizations. Download today from your account.

Tags
General Discussions
Asked by
Vasssek
Top achievements
Rank 1
Answers by
Chavdar
Telerik team
Share this question
or