<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" EnableViewState="true" %>
<%@ Register Assembly="Barcode" Namespace="Limilabs.Web" TagPrefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Barcode.dll test page</title>
    <script type="text/javascript">
    <!--
    function printPage()
    {
	    window.print();
    }
    //-->
    </script>
</head>

<body>
    <form id="form1" runat="server">
    <div>
        <cc1:BarcodeControl ID="BarcodeControl1" runat="server" Symbology="Code39"></cc1:BarcodeControl>
        <br />
        <input type="button" value="Print" onclick="printPage();"/>

        <br />
        <br />
        <br />
        Please remember to add following code to the <strong>web.config</strong> file in your application in <strong>&lt;system.web&gt;</strong> section:
    <pre>    &lt;httpHandlers&gt;
      &lt;add verb="*" path="Barcode.axd"
          type="Limilabs.Web.BarcodeHttpHandler" /&gt;
    &lt;/httpHandlers&gt;
    </pre>  
    
    </div>
    </form>
</body>

</html>
