Last Updated: 16 Aug 2019 11:07 by ADMIN
Created on: 13 Aug 2019 01:36
Type: Feature Request
PictureBox Image as Base64

It would be very handy, if the value property of the PictureBox would resolve images from base64 strings besides the Image, Image byte[], relative or absolute URI.
It should be fairly simple to implement. I wrote my own user function for this. It would be beneficial to have this out of the box.

[Function(Category = "Image", Namespace = "ImageFunctions", Description = "Converts a base64 string to an image byte array")]
public static byte[] ConvertFromBase64(string imageString)
    if (imageString != null)
        // Convert base 64 string to byte[]
        byte[] imageBytes = Convert.FromBase64String(imageString);
        return imageBytes;
        return null;

1 comment
Posted on: 16 Aug 2019 11:07

Hi KSafadi,

Thank you for your input! We will consider adding this function to our list of built-in functions.

Best Regards, Silviya
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items