Using an ampersand character in RadBarcode's Text leads to a server-side error. Replacing the symbol with its corresponding HTML entity allows the control to render its text successfully, but the generated image corresponds to the passed entity character.
If RadBarcode1.Text="&" the control generates this (read as "&"):
https://www.screencast.com/t/NuOVjB8EY
while it should be this (read as "&"):
https://www.screencast.com/t/vOhWkUoW
Workaround:
When we generate the image by keeping ShowText = True, then it throws the exception.
When we generate the image by keeping ShowText = false, then it successfully generates the image.
Steps to reproduce:Run the following setup:
ASPX: