Hi everyone!

I have a problem about image download from web browser.I'm working asp.net platform.I wanna download image directly but the image open on the browser.Can you help me about this?

My HTML code:

<a href ="http://domain.com/file/image.jpg" target="_blank" /> Download </a>

Hi everyone!

I have a problem about image download from web browser.I'm working asp.net platform.I wanna download image directly but the image open on the browser.Can you help me about this?

My HTML code:

<a href ="http://domain.com/file/image.jpg" target="_blank" /> Download </a>

Try below link:
http://msdn.microsoft.com/en-us/library/system.web.httpresponse.outputstream.aspx

Use your Button_Click event to execute code explained in above link instead of Form_Load.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.