Click here to Skip to main content
15,887,821 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Error Webservice (hexadecimal value 0x0E, is an invalid character) Pin
Dalek Dave4-Mar-11 13:23
professionalDalek Dave4-Mar-11 13:23 
Questionput logo in crystal reports Pin
Thanusree Duth28-Jan-11 19:09
Thanusree Duth28-Jan-11 19:09 
AnswerRe: put logo in crystal reports Pin
Sandeep Mewara28-Jan-11 19:41
mveSandeep Mewara28-Jan-11 19:41 
AnswerRe: put logo in crystal reports Pin
sund7wells1-Feb-11 19:56
sund7wells1-Feb-11 19:56 
QuestionStyle Points Pin
Bomb_shell28-Jan-11 10:21
Bomb_shell28-Jan-11 10:21 
AnswerRe: Style Points Pin
David Mujica28-Jan-11 10:42
David Mujica28-Jan-11 10:42 
QuestionMVC File Download Pin
musefan28-Jan-11 5:34
musefan28-Jan-11 5:34 
AnswerRe: MVC File Download Pin
TheGreatAndPowerfulOz28-Jan-11 10:05
TheGreatAndPowerfulOz28-Jan-11 10:05 
To force the download of a PDF file, instead of being handled by the Browser PDF plugin:
public ActionResult DownloadPDF()
    {
        return File("~/Content/MyFile.pdf", "application/pdf", "MyRenamedFile.pdf");
    }

If you want to let the browser handle by its default behavior (plugin or download), just send two parameters.
public ActionResult DownloadPDF()
    {
        return File("~/Content/MyFile.pdf", "application/pdf");
    }


Read here[^] for more info
"If your actions inspire others to dream more, learn more, do more and become more, you are a leader." - John Quincy Adams

GeneralRe: MVC File Download Pin
musefan28-Jan-11 10:37
musefan28-Jan-11 10:37 
Questionopen a pop up window Pin
vishnukamath28-Jan-11 2:18
vishnukamath28-Jan-11 2:18 
AnswerRe: open a pop up window Pin
Pete O'Hanlon28-Jan-11 3:00
mvePete O'Hanlon28-Jan-11 3:00 
GeneralRe: open a pop up window Pin
musefan28-Jan-11 5:38
musefan28-Jan-11 5:38 
QuestionMVC for big applications Pin
slSoftware28-Jan-11 1:57
slSoftware28-Jan-11 1:57 
Questionsen mail in asp .net 2.0 Pin
Thanusree Duth27-Jan-11 0:12
Thanusree Duth27-Jan-11 0:12 
AnswerRe: sen mail in asp .net 2.0 Pin
Yusuf27-Jan-11 0:55
Yusuf27-Jan-11 0:55 
AnswerRe: sen mail in asp .net 2.0 Pin
Gandalf_TheWhite27-Jan-11 1:25
professionalGandalf_TheWhite27-Jan-11 1:25 
AnswerRe: sen mail in asp .net 2.0 Pin
RaviRanjanKr27-Jan-11 3:42
professionalRaviRanjanKr27-Jan-11 3:42 
GeneralRe: sen mail in asp .net 2.0 Pin
Thanusree Duth27-Jan-11 18:37
Thanusree Duth27-Jan-11 18:37 
AnswerRe: sen mail in asp .net 2.0 Pin
musefan28-Jan-11 6:17
musefan28-Jan-11 6:17 
QuestionIs it possible that userConfrol was called before mainpage? Pin
buffering8326-Jan-11 14:21
buffering8326-Jan-11 14:21 
AnswerRe: Is it possible that userConfrol was called before mainpage? Pin
fjdiewornncalwe26-Jan-11 15:05
professionalfjdiewornncalwe26-Jan-11 15:05 
AnswerRe: Is it possible that userConfrol was called before mainpage? Pin
Yusuf27-Jan-11 0:57
Yusuf27-Jan-11 0:57 
Questionhttpcontext Pin
Ramkumar_S25-Jan-11 15:06
Ramkumar_S25-Jan-11 15:06 
AnswerRe: httpcontext Pin
Not Active25-Jan-11 15:20
mentorNot Active25-Jan-11 15:20 
AnswerRe: httpcontext Pin
Parwej Ahamad25-Jan-11 20:24
professionalParwej Ahamad25-Jan-11 20:24 

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.