Click on any link calls download

ashutosh9910

Freshman
Joined
May 13, 2005
Messages
44
I have a search page where I search results and based on those results, I show the datagrid and also a link to download some exe files from the server using Response.BinaryWrite.

Problem is once I download an exe, the immediate next link also calls the download code.

Eg - I click download >>>> It gives me Open / Save dialog to downloads the exe
After downloading it, I click Search >>>>> It again gives me the same Open / Save dialog box.
 
Seems like some simple mistake in the code. Can you post the relevant parts of the code, so that we can have a better idea?

Cheers,
Shiva.
 
Back
Top