Hi
I'm trying to create an aspx page that receives some parameters and responde with a dynamic image (a barcode image), or a memory stream (of the barcode) to be used in ms report (.rdlc file)
I can use easily the image in a webform
Me.b39.ImageUrl = "~/barcodeImageReturn.aspx?barcoTipo=39&barcoText=" + barcode.Text
the barcodeImageReturn page makes something like
Dim b39 As New CreaBarcode39.myCreaBarcode39()
Dim ms = New MemoryStream()
ms = b39.GenerateBarcodeImageMemoryStream(b39.GetBarcodeMinimumImageWidth(barcoText), 30, barcoText)
Dim bytes = ms.ToArray()
Response.BinaryWrite(bytes)
and this works perfectly
BUT ...
if I want to use something like this in my report, I can't understand how this works ... or how I must create the aspx page
for example, this works perfectly:
in a .rdlc report I put an image control,
I declare external, both image and report
value
="http://www.bcgen.com/aspxscripts/idautomation-code39.aspx?D=MYBARCODE"
this works, but I can't understand how this works ... what does this page responde???
Many Thanks
Nibbio