Barcode TagHelper Overview

The Telerik UI Barcode TagHelper for ASP.NET Core is a server-side wrapper for the Kendo UI Barcode widget.

The Barcode is used to represent data in a machine-readable format.

Initializing the Barcode

The following example demonstrates how to define the Barcode by using the Barcode TagHelper.

<kendo-barcode name="BarCode"></kendo-barcode>

Basic Configuration

The Barcode TagHelper configuration options are passed as attributes of the tag.

    <kendo-barcode name="barcode" value="10110110" type="BarcodeSymbology.Code128" width="200" height="100">
        <border color="red" width="2"/>
    </kendo-barcode>
    @(Html.Kendo().Barcode()
    .Name("gudbrands")
    .Value("10110110")
    .Encoding(BarcodeSymbology.Code128)
    .Width(200)
    .Height(100)
    .Border(border => border.Color("red").Width(2)))
)

See Also

In this article
Not finding the help you need? Improve this article