I am sending a bitmap to a View in ASP.NET MVC. I have a property in my ViewModel:
public Bitmap TemplateImage { get; set; }
In my View, I want to be able to render that Bitmap image but I can’t figure out how to do it.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
One solution would be to create a new action, like this:
and send an ID for the image instead and reference it like this: