Click here to Skip to main content
15,885,309 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Assigning data from sql database to a chart C# and entity framework Pin
Richard Deeming7-Jan-20 9:08
mveRichard Deeming7-Jan-20 9:08 
QuestionCan i use timer control without use java sicrpt? Pin
Nowiglah4-Jan-20 6:26
Nowiglah4-Jan-20 6:26 
AnswerRe: Can i use timer control without use java sicrpt? Pin
Eddy Vluggen4-Jan-20 8:36
professionalEddy Vluggen4-Jan-20 8:36 
QuestionTrying to open a pdf file in a new Tab on Chrome browser - not happening Pin
simpledeveloper3-Jan-20 5:59
simpledeveloper3-Jan-20 5:59 
AnswerRe: Trying to open a pdf file in a new Tab on Chrome browser - not happening Pin
ZurdoDev3-Jan-20 6:29
professionalZurdoDev3-Jan-20 6:29 
GeneralRe: Trying to open a pdf file in a new Tab on Chrome browser - not happening Pin
simpledeveloper3-Jan-20 6:50
simpledeveloper3-Jan-20 6:50 
GeneralRe: Trying to open a pdf file in a new Tab on Chrome browser - not happening Pin
ZurdoDev3-Jan-20 6:52
professionalZurdoDev3-Jan-20 6:52 
GeneralRe: Trying to open a pdf file in a new Tab on Chrome browser - not happening Pin
simpledeveloper3-Jan-20 7:01
simpledeveloper3-Jan-20 7:01 
ZurdoDev wrote:
I'm not sure what you mean. In your code you specified a file name.

I want to give the option when saving file name with the file name that comes with FileInfo object.


ZurdoDev wrote:
It's my understand that will make it download as an attachment rather than display inline

OK - nice, is there anyway I can allow the user to download the file rather than opening in a new browser? How can I do that? It will be a great help for me.

simpledeveloper wrote:
Response.AppendHeader("content-disposition", "attachment; filename=" + file.FileName);

How can I change this statement for pdf to be able to download? Any help regarding this buddy? It will be a great help - thank you.
GeneralRe: Trying to open a pdf file in a new Tab on Chrome browser - not happening Pin
ZurdoDev3-Jan-20 7:06
professionalZurdoDev3-Jan-20 7:06 
GeneralRe: Trying to open a pdf file in a new Tab on Chrome browser - not happening Pin
simpledeveloper3-Jan-20 7:34
simpledeveloper3-Jan-20 7:34 
GeneralRe: Trying to open a pdf file in a new Tab on Chrome browser - not happening Pin
ZurdoDev3-Jan-20 7:46
professionalZurdoDev3-Jan-20 7:46 
GeneralRe: Trying to open a pdf file in a new Tab on Chrome browser - not happening Pin
simpledeveloper3-Jan-20 7:56
simpledeveloper3-Jan-20 7:56 
GeneralRe: Trying to open a pdf file in a new Tab on Chrome browser - not happening Pin
simpledeveloper3-Jan-20 9:08
simpledeveloper3-Jan-20 9:08 
QuestionHow I can insert data into gridview without use data source??? Pin
Nowiglah3-Jan-20 4:34
Nowiglah3-Jan-20 4:34 
AnswerRe: How I can insert data into gridview without use data source??? Pin
ZurdoDev3-Jan-20 6:30
professionalZurdoDev3-Jan-20 6:30 
GeneralRe: How I can insert data into gridview without use data source??? Pin
Nowiglah4-Jan-20 6:16
Nowiglah4-Jan-20 6:16 
AnswerRe: How I can insert data into gridview without use data source??? Pin
ZurdoDev4-Jan-20 7:46
professionalZurdoDev4-Jan-20 7:46 
QuestionError: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl) Pin
Member 24584672-Jan-20 20:41
Member 24584672-Jan-20 20:41 
AnswerRe: Error: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl) Pin
ZurdoDev3-Jan-20 6:32
professionalZurdoDev3-Jan-20 6:32 
GeneralRe: Error: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl) Pin
Member 24584677-Jan-20 17:13
Member 24584677-Jan-20 17:13 
QuestionASP .NET list of text boxes not aligning properly Pin
Member 1462055328-Dec-19 16:23
Member 1462055328-Dec-19 16:23 
AnswerRe: ASP .NET list of text boxes not aligning properly Pin
Member 1462055329-Dec-19 1:38
Member 1462055329-Dec-19 1:38 
QuestionASP.Net MVC: How to print raw model in razor view Pin
Mou_kol24-Dec-19 22:19
Mou_kol24-Dec-19 22:19 
AnswerRe: ASP.Net MVC: How to print raw model in razor view Pin
F-ES Sitecore25-Dec-19 9:17
professionalF-ES Sitecore25-Dec-19 9:17 
QuestionallowDefinition='MachineToApplication' beyond application level Pin
kuldeeps2117-Dec-19 4:53
kuldeeps2117-Dec-19 4:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.