I want to show been bitmap image in Div. I want to do from code behind. I want not to use handler.
Like This:
div.InnerHtml = BitmapImage;
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.
Pretty simple road to follow (note that you’ll be sending a lot of data) :
Convert the image from bitmap to JPG
Get the base64 for the image (example of base64 image at http://jsfiddle.net/3sdGJ/)
Add the image by writing:
The preferred way would be to save the image as JPG on the server and then