Hi
Please sir, i have add barcode in my view and it works as code:
@(Html.Kendo().Barcode()
.Name("manchego")
.Value("2346722")
.Encoding(BarcodeSymbology.EAN8)
.Width(200)
.Height(100)
)
now i need to pass value to barcode from EmployeeViewModel for each employee to let me view them in my page as example :
<
ul
id
=
"dairy"
>
<
li
>
@* here pass value for employee 1 *@
@(Html.Kendo().Barcode().Name("manchego").Value("2346722").Encoding(BarcodeSymbology.EAN8).Width(200).Height(100))
</
li
>
<
li
>
@* here pass value for employee 2 *@
@(Html.Kendo().Barcode().Name("mascarpone").Value("Mascarpone").Encoding(BarcodeSymbology.Code128).Width(200).Height(100))
</
li
>
<
li
>
@* here pass value for employee 3 *@
@(Html.Kendo().Barcode().Name("gudbrands").Value("CHEESE").Encoding(BarcodeSymbology.Code39).Width(200).Height(100))
</
li
>
</
ul
>
and ect ..... for any other employee
so please how can i do that ?