Encoding Exception


Server-side events:

Settings
Description

C1BarCode provides a BarCode image which is encoded according to a special string value.

Most encodings have limitations that determine what type of text it can represent. For example, some are numeric-only and some require text of a specific length.

If the value of the "Text" property cannot be represented using the current "CodeType", then no bar code will be generated and the control will remain blank.

In this case, the EncodingException property returns details about the exception that prevented the bar code from being generated.

Documentation