Barcode JSP Tag Overview

The Barcode JSP tag is a server-side wrapper for the Kendo UI Barcode widget.

Getting Started


Below are listed the steps for you to follow when configuring the Kendo UI Barcode.

Step 1 Make sure you followed all the steps from the introductory article on Telerik UI for JSP.

Step 2 Create a new action method to render the view.

    @RequestMapping(value = {"/", "/index"}, method = RequestMethod.GET)
    public String index() {
        return "/dataviz/barcode/index";

Step 3 Add a barcode with the default type (Code39).

    <kendo:barcode name="barcode" value="foo">

Step 4 Change the symbology to match your scenario.

    <kendo:barcode name="barcode" type="ean8" value="2346722">


Existing Instances

You are able to reference an existing Barcode instance via Once a reference is established, you are able to use the Barcode API to control its behavior.

    //Put this after your Kendo UI Barcode tag
    $(function() {
        // Notice that the name of the barcode is used to get its client-side instance
        var barcode = $("#barcode").data("kendoBarcode");

See Also

In this article