Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > BinaryImage > Image is not displaying

Not answered Image is not displaying

Feed from this thread
  • Paul avatar

    Posted on Jan 7, 2012 (permalink)

    Image is not displaying when the file name contains &. How do I handle this in imageUrl?

    Reply

  • Antonio Stoilkov Antonio Stoilkov admin's avatar

    Posted on Jan 10, 2012 (permalink)

    Hi Paul,

    Indeed the image will not load when it contains & sign. The issue is not related to the RadControls but to html. You could try declaring html img tag with src property set up and you will observe the same issue. Your solution is to remove every & sign in the image when saving it.

    Greetings,
    Antonio Stoilkov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now

    Reply

  • Posted on Mar 20, 2012 (permalink)

    Hi Paul,

    You can try using HttpServerUtility.HtmlDecode Method when passing the URL

      http://msdn.microsoft.com/en-us/library/hwzhtkke.aspx

    Thanks,
    Jim
    If this helped answer your question, please mark this as answered, thank you.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > BinaryImage > Image is not displaying