ASP.NET Barcode Setup

Since the ShieldUI Barcode suite for ASP.NET is a wrapper of javascript barcode components you need to include the references to the CSS and JavaScript resources in the HEAD section of your webpage:

<head >
<link rel="stylesheet" type="text/css" href="css/light/all.min.css" />
<script src="js/jquery-1.9.1.min.js" type="text/javascript">//</script>
<script src="js/shieldui-all.min.js" type="text/javascript">//</script>
  
</head>

The javascript resources for client side component you can find on the download page under “ShieldUI JavaScript” section.

ShieldUI Barcode suite for ASP.NET strives to provide a 1:1 correspondence between the client-side api of the control, and the server-side counterpart. This makes it easy to use any implementation of a given control, knowing that the APIs are similar:

//JavaScript Code128 demo
$("#code128").shieldBarcode({
    type: "CODE-128",
    value: "SHIELD UI"
});
//ASP.NET Code128 demo
<shield:ShieldBarcode ID="ShieldBarcode3" runat="server" 
    Type="CODE_128" Value="SHIELD UI" CssClass="barcode">
</shield:ShieldBarcode>

To see the configuration options in action, please refer to our online demos.

The supported barcode types are:
"CODABAR",
"CODE-11",
"CODE-39",
"CODE-93",
"CODE-128",
"CODE-128-A",
"CODE-128-B",
"CODE-128-C",
"CODE-25-STANDARD",
"CODE-25-INTERLEAVED",
"EAN-8",
"EAN-13",
"UPC-A",
"UPC-E",
"MSI-10",
"MSI-10-10",
"MSI-11",
"MSI-11-10",
"POSTNET";