Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
FData = (byte[])row["FData"]; // load to an byte array from database
string xSignImg = Convert.ToBase64String(FData, 0, FData.Length);
xSignImg = string.Format("data:image/jpg;base64,{0}", xSignImg);
// or xSignImg = "data:image/jpg;base64,{0}" + xSignImg;
The same problem also exists on image editor
The image is shown on a SfGrid column without any problem with the same code as below
on an Grid column template
var cntx = DocsFData as Code.LoginState.DocsFields;
string base64String = Convert.ToBase64String(cntx.FData, 0, cntx.FData.Length);
string imagesrc = "data:image/jpg;base64," + base64String;