TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
GURUCHANDRAN M
NA
10
423
Regards Downloading
Jun 1 2018 5:05 AM
Dear Friends,
i have a piece of code below
Response.ClearHeaders();
Response.Buffer =
false
;
Response.Clear();
Response.ContentType = contentType;
Response.AddHeader(
"Content-Disposition"
,
"attachment; filename="
+ FileName);
Response.AddHeader(
"Content-Length"
, mybytes.Length.ToString());
Response.WriteFile(Server.MapPath(
"~/Page/BillTrack/Files/"
+ FileName));
Response.End();
A file will be download - automatically but i need to hide the download bar..
How to hide download bar using C# code or any other javascript?
Reply
Answers (
1
)
Ng serve doesnot work in VS 2017
how to reduce URL or customization in asp.net mvc5