Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
74 views

Hi, 

I'm using the barcode control for coding my text and I'm doing it with type Code128, but I need to add FNC1 beetwen my text

Example: 41577099986707238020001065097544 FNC1 3900000000538300 FNC1 9620210118

Can you please tell me what is the character to do this? 

Thanks

Maria Camila
Top achievements
Rank 1
 asked on 11 Mar 2021
6 answers
233 views
When we use the RadBarcode.GetImage() running the asp.net 4.0 site inside the visual studio 2012 IDE all is well and we can save and display the png on our site.  When  running the site on the server we get the following error:

A generic error occurred in GDI+.    at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)
   at System.Drawing.Image.Save(String filename, ImageFormat format)

No other error information is provided.   Are there perhaps some other support assemblies needed that may be needed on the server?    This telerik upgrade is being tested on 2003 server, where all other telerik stuff works just fine for a number of sites.  Is it possible the older server just doesn't support some GDI+ functionality that you require, and our only option is to move to server 2008?

We are in the process of switching our sites from rather ancient Windows Server 2003 to Windows Server 2008 so that's not a show-stopper.  We just weren't quite ready to deploy this testing site there.
Paolo
Top achievements
Rank 2
 answered on 07 Jul 2020
4 answers
117 views
Hi,

With the last version we can save the image of the radbarcode but I don't see anymore the text at the bottom of the barcode.

How can I retrieve the image + text into a barcode export?

Thanks in advance for your help

/Michel
Ranish
Top achievements
Rank 1
 answered on 03 Feb 2020
5 answers
445 views

It is possible to set the height and width of the QR Code in pixels?. Already set de DotSize in 0, but the result image always has 53x53px.

 

 

Marin Bratanov
Telerik team
 answered on 10 Sep 2018
0 answers
113 views

Hi, would like to check if it is possible to generate a QR code with a logo in the middle?

 

sample in attached file

Benjamin
Top achievements
Rank 1
 asked on 07 Jun 2018
9 answers
393 views
Love the new barcode control.  QR is great.  

I'm trying to setup a generic barcode generator that can be used through out my app (http://whatever/barcode.aspx?value=xyz) and have it generate a PNG image.  I know in the Q2 release this was not possible since PNG was not supported.  However now that it is, I would love a few suggestions on how I could render the barcode image in code-behind (C#) and then just stream it out to the browser.  

Basically I just need to be able to get to the PNG image for the barcode from the control.  

Thanks,
Alex  
Garo
Telerik team
 answered on 03 May 2017
1 answer
1.6K+ views
Dear All,

I have the following code to generate QR Code dynamically:

public Image GetQRCode(string sUrl, int iDotSize)
{
    var code = new RadBarcode();
    code.Text = sUrl;
    code.Type = BarcodeType.QRCode;
    code.OutputType = BarcodeOutputType.EmbeddedPNG;
    code.QRCodeSettings.Mode = Telerik.Web.UI.Barcode.Modes.CodeMode.Byte;
    code.QRCodeSettings.ErrorCorrectionLevel = Telerik.Web.UI.Barcode.Modes.ErrorCorrectionLevel.L;
    code.QRCodeSettings.DotSize = iDotSize;
    code.QRCodeSettings.Version = 2;
    code.QRCodeSettings.ECI = Telerik.Web.UI.Barcode.Modes.ECIMode.None;
 
    //code.QRCodeSettings.DotSize = 0; // no changes, space is always there
    //code.Attributes.Add("Width", "310px"); // no changes, space is always there
    //code.Attributes.Add("Height", "310px"); // no changes, space is always there
    return code.GetImage();
}


Can any one tell me how to purge padding space between the image border and QRCode symbol?
According to the documentation changing DotSize to zero should resize the QR symbol to fill up the Width and Height.
It doesn't work, the white space is always there. I tried also several other setting without success.
Greatly appreciate for any helps.


Regards,
Christopher
kzimny
Top achievements
Rank 1
 answered on 13 Sep 2016
1 answer
93 views

Hello All,

Please I am using telerik 2013 Q13. I make use of the barcode which is printed on a sales receipt.

The issue here is that the barcode on the receipt cant be scanned using a barcode scanner.

What might i be doing wrong. Any help or advice.

Thanks

Konstantin Dikov
Telerik team
 answered on 24 Dec 2015
4 answers
113 views
Hi,
I want to build barcode control using c# not in HTML , I used that code but I have problem That barcode appear as text like attached photo
how can I solve this problem 
Thanks ..
                        RadBarcode mybarcode = new RadBarcode();
                        mybarcode.ID = "barcode1";
                        mybarcode.Text = "123";
                        mybarcode.Type = BarcodeType.QRCode;
                        StringBuilder sbHtmlContent = new StringBuilder();
                        StringWriter objStringWriter = new StringWriter(sbHtmlContent);
                        HtmlTextWriter objHtmlTextWriter = new HtmlTextWriter(objStringWriter);
                        mybarcode.RenderControl(objHtmlTextWriter);
                        var strTextBoxHtml = sbHtmlContent.ToString();
                        Literal1.Text += strTextBoxHtml;
Long
Top achievements
Rank 1
 answered on 27 Aug 2015
10 answers
390 views
Is it possible to change the color of the generated QR Code?
Konstantin Dikov
Telerik team
 answered on 05 Aug 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?