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
Madan Shekar
229
8.3k
1.2m
MVC PDF Generation Issue (Urgent)
Dec 23 2019 11:23 PM
Hi all
In mvc application using bellow code i am trying to generate PDF file. The issue is i am not able to generate PDF file , instead of PDF file i am geting bellow response please check.
code :-
Response.Clear();
Response.ClearContent();
Response.ClearHeaders();
Response.AddHeader("content-disposition", "attachment; filename=" + docName);
Response.ContentType = "octet-stream";
Byte[] FileBuffer = here byte array (file content)
Response.BinaryWrite(FileBuffer);
Output as of now
Thanks In Advance
Madan
Reply
Answers (
2
)
BarCode generation and implementation
display all date of selected month in grid gridview