Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 20, 2012 09:30 AM by prasad.maganti
Jul 04, 2012 03:06 PM|LINK
i my site i 'm uploading file in my website's root folder....now i want to download this file...for that i have use hyperlink and give file url http://localhost:35587/test/calender.jpg...but when i click on this link i get
my website name is uploadingfile...do i need to specifi the name of website in url....
or else ?
what should i do ?
Jul 04, 2012 03:38 PM|LINK
do i need to specifi the name of website in url
No. Just put an
<a href='<%=ResolveUrl("~/path to the file")%>'>click here</a>
Jul 05, 2012 07:32 AM|LINK
Html tags will be valid here
Jul 06, 2012 07:36 AM|LINK
Hi, you can try the following codes with button click event to download image:
Response.ContentType = "image/jpeg";
Response.AddHeader("Content-Disposition", "attachment; filename=xxxx.jpg");
Dec 14, 2012 10:34 AM|LINK
Hi Allen Li,
When i specify above code in button click event where button exist in update panel, then its giving the error "icrosoft JScript runtime error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed.
Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled. Details: Error parsing near 'I8,A,001 I8,A,001 OD'."
So could you please help me on this.
Dec 20, 2012 09:30 AM|LINK
i have found the solution on