We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

QR code not working

Hi,

I am trying to use a qr code, and when I scanned it back it's showing as "message" instead of the actual url which I put in. The following is the codes where I show the qr code. Can someone tell me where I did wrong?

Thanks!

<pre>

            SfBarcode barcode = new SfBarcode();

            barcode.Symbology = BarcodeSymbolType.QRBarcode;

            QRBarcodeSetting setting = new QRBarcodeSetting();
            setting.InputMode = QRInputMode.BinaryMode;
            setting.XDimension = 8;
            barcode.SymbologySettings = setting;
            barcode.Text = WebHelper.ServerUrl + "signal/" + viewModel.BroadcastSignalViewModel.SignalId;
            barcode.DisplayText = false;

            ShowCode(barcode);

</pre>


8 Replies

KC Karthikeyan Chandrasekar Syncfusion Team July 16, 2013 09:52 AM UTC

Hi Ken,

Thank you for using Syncfusion Products.

 

Could you please provide us the string value which is generated from WebHelper.ServerUrl + "signal/" + viewModel.BroadcastSignalViewModel.SignalId, which is given us the input to “barcode.Text”.

 

So that it will be more helpful for us to investigate in this.

 

Thanks,

Karthikeyan.C

 



KL Ken Liim July 17, 2013 03:51 AM UTC

Hi Karthikeyan,

Here is an instance of the url:

http://54.219.0.78/TrackMe/rest/signal/d78d322f-da7e-44d0-8f8d-56c7484c1323

I tried to put anything in it like "testing", and all I get back from the bing vision is "message".

Thanks,

Kenneth



KC Karthikeyan Chandrasekar Syncfusion Team July 18, 2013 11:17 AM UTC

Hi Ken,

Thank you for your update.

 

We have checked with the input text, and it is recognized as URL.

Also it is not an issue with the Barcode control.

Could you please check with the different barcode scanner.

 

Please let us know if you have any concern.

 

Thanks,

Karthikeyan.C



MA mariah August 19, 2013 04:12 AM UTC

hi, maybe it's sth. wrong with your barcode when you are generating . you may refer to the guide for qr code


MA mariah August 19, 2013 04:13 AM UTC

sorry,qr code


FO foodmore August 20, 2013 03:38 AM UTC

how do you generate the QR codes, follow the tutorial and steps in encoding barcodes, you will be able to scan codes without error.


KC Karthikeyan Chandrasekar Syncfusion Team August 22, 2013 03:51 PM UTC

Hi Mariah/Foodmore,

Thank you for your update.

 

We have checked with the given input text, and it is getting converted to barcode properly.

Please let us know if you have any concerns in this.

 

Thanks,

Karthikeyan.C



MA mariah July 23, 2014 08:19 AM UTC


Loader.
Live Chat Icon For mobile
Up arrow icon