ClientFormat/ ClientFunction for System.Convert.ToBase64String()

I'd like to use some conversion of razor @System.Convert.ToBase64String(@Model.TempPhoto) to display an image (jpg) in a grid. My guess is using ClientFormat or ClientFunction could be a direct way of accomplishing that, but I don't see an example ... what is the best way of getting a byte[] from ".(TempPhoto)" of the Json response to @System.Convert.ToBase64String() ?
owner
Stephan Luis
asked at 27 Jul 2018

Answers 

please Sign In to leave an answer

By accessing this site, you agree to store cookies on your device and disclose information in accordance with our cookie policy and privacy policy .
contact us