barcode mvc

Topics: Code 11, Code 128, Code 39, Code 93, Code EAN 13, Code EAN 8
Jul 24, 2012 at 10:51 AM

How can I use this library in mvc 3 application...

Have you any exaples??



Jul 26, 2012 at 3:25 AM

Hi there,

I am putting together a sample site based on MVC3 that aims to show how to use BRF in that scenario.

The web assembly will be extended to provide a ASP.NET route handler so extensionless URLs can be handled.

In addition I will write some extension methods that make embedding barcodes from your razor pages nice and easy.

Stay tuned


Jul 29, 2012 at 5:11 PM

Latest release adds an MVC sample site - it is very very basic but it features a set of Razor extensions to make it very easy to embed barcodes into your views.

If you need further examples just shout and I'll see if I can fill out the MVC sample to capture what you are trying to do...

Aug 1, 2012 at 8:03 PM
Edited Aug 1, 2012 at 10:45 PM

ok very good!!

now i wish call  url.barcode(...) from javascript  automatically when i digit barcode into textbox


my code is 

<script type="text/javascript">   

$(function () {        

var content = $('#Barcode').val();       

$('#Barcode').keyup(function () {           

 if ($('#Barcode').val() != content) {               

 content = $('#Barcode').val();               

var Barcodetxt = content.toString();               

if (Barcodetxt.length == 13) {                                                    

var imageUrl = '@Url.Barcode(Barcodetxt, BarcodeSymbology.CodeEan13, 30, 1, true)';                   

$("#@("BarcodeImage")").html("<img src='" + imageUrl + "'/>");                                                                                                                           }              





the vs2010 compiler return this error: " Barcodetxt does not exist in the context "