Whenever i download docx, xlsx ar pptx files from IE, IE will save them as a zip file.
whats wrong? can u help me?
thanks...

Recommended Answers

All 9 Replies

Member Avatar for stbuchok

Where are you downloading them from?

i downloading them with IE browser from web server...

Member Avatar for stbuchok

Where? As in the URL, the link, the thing you click on...

this is my code to downloading file

<a href='<%# Eval ("UrlFile") %>'>Download</a>

with my code i can download doc, xls and ppt.. but if i download docx, xlsx and pptx, IE save them as zip...

please remove eval method and just give the path of file then check
example
<a href=

Member Avatar for stbuchok

sandeepchrs, chances are that it is in a repeater or grid, so no, don't get rid of eval.

finally, the problem solved. it just because I am using IDM for downloading... :)

asp.net downloading code ...<a href="document.htm">Download</a>

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.