I have a problem that I want to show an image in Image control by downloading image from Image url, but I don’t know how to do that? Please suggest me right solution for this problem.
Thanks in advance.
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.
I’m not sure exactly what you mean, so if this is not a solution to your issue please disregard this answer.
I assume what you mean is that you wish to download an image from a URL in the codebehind, store the
image locally and serve this image to the browser.
To do this you can use the following:
Markup
CodeBehind
Hope this helps.