Click here to Skip to main content
15,918,243 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to fix a broken scrollbar in datagrid Pin
Christian Graus13-Jul-09 10:12
protectorChristian Graus13-Jul-09 10:12 
GeneralRe: How to fix a broken scrollbar in datagrid Pin
smcirish13-Jul-09 10:19
smcirish13-Jul-09 10:19 
GeneralRe: How to fix a broken scrollbar in datagrid Pin
Christian Graus13-Jul-09 10:35
protectorChristian Graus13-Jul-09 10:35 
AnswerRe: How to fix a broken scrollbar in datagrid Pin
Not Active13-Jul-09 10:12
mentorNot Active13-Jul-09 10:12 
GeneralRe: How to fix a broken scrollbar in datagrid Pin
smcirish13-Jul-09 10:18
smcirish13-Jul-09 10:18 
AnswerRe: How to fix a broken scrollbar in datagrid [modified] Pin
Gary Stafford13-Jul-09 14:36
Gary Stafford13-Jul-09 14:36 
AnswerRe: How to fix a broken scrollbar in datagrid Pin
ScottM115-Jul-09 1:54
ScottM115-Jul-09 1:54 
QuestionHow to display PDF in ASP.NET in same tab/window in browser? Pin
Kumar Kush13-Jul-09 7:29
Kumar Kush13-Jul-09 7:29 
I have written the following code to display PDF is ASP.NET.

Dim strFilePath As String = Server.MapPath(".") & "\CollegeWriteUps\Vision.pdf"
        Dim client As New WebClient
        Dim buffer() As Byte = client.DownloadData(strFilePath)
        Response.Clear()
        If strFilePath.EndsWith(".pdf") Then
            Response.ContentType = "application/pdf"
            Response.AddHeader("content-length", buffer.Length.ToString())
            Response.Flush()
            Response.BinaryWrite(buffer)
        End If



In Firefox, the web-page on which to show the PDF shows up blank, that too in new window/tab. Worst thing, the PDF shows up in Acrobat reader.

In IE, it simply shows up the dialog box asking for Open or Save the file.

How do I show the PDF in the same window/tab (in the browser)?


Thanks in advance.
AnswerRe: How to display PDF in ASP.NET in same tab/window in browser? Pin
Christian Graus13-Jul-09 7:40
protectorChristian Graus13-Jul-09 7:40 
AnswerRe: How to display PDF in ASP.NET in same tab/window in browser? Pin
Kannan Ar13-Jul-09 15:44
professionalKannan Ar13-Jul-09 15:44 
QuestionLoading images into the GridView issue Pin
Priya Prk13-Jul-09 6:50
Priya Prk13-Jul-09 6:50 
AnswerRe: Loading images into the GridView issue Pin
Abhijit Jana13-Jul-09 7:10
professionalAbhijit Jana13-Jul-09 7:10 
GeneralRe: Loading images into the GridView issue Pin
Priya Prk13-Jul-09 8:05
Priya Prk13-Jul-09 8:05 
GeneralRe: Loading images into the GridView issue Pin
Christian Graus13-Jul-09 8:14
protectorChristian Graus13-Jul-09 8:14 
GeneralRe: Loading images into the GridView issue Pin
Priya Prk13-Jul-09 8:23
Priya Prk13-Jul-09 8:23 
GeneralRe: Loading images into the GridView issue Pin
Christian Graus13-Jul-09 8:46
protectorChristian Graus13-Jul-09 8:46 
QuestionAJAX Problem "There was an error in callback" Pin
PJWindsor13-Jul-09 4:42
PJWindsor13-Jul-09 4:42 
AnswerRe: AJAX Problem "There was an error in callback" Pin
Kannan Ar13-Jul-09 5:29
professionalKannan Ar13-Jul-09 5:29 
GeneralRe: AJAX Problem "There was an error in callback" Pin
PJWindsor13-Jul-09 9:27
PJWindsor13-Jul-09 9:27 
GeneralRe: AJAX Problem "There was an error in callback" Pin
PJWindsor13-Jul-09 22:39
PJWindsor13-Jul-09 22:39 
QuestionKind of new to Web Development with ASP.Net and was wondering... Pin
Stuart Jeffery13-Jul-09 4:19
Stuart Jeffery13-Jul-09 4:19 
AnswerRe: Kind of new to Web Development with ASP.Net and was wondering... Pin
Manas Bhardwaj13-Jul-09 4:31
professionalManas Bhardwaj13-Jul-09 4:31 
AnswerRe: Kind of new to Web Development with ASP.Net and was wondering... Pin
PJWindsor13-Jul-09 4:53
PJWindsor13-Jul-09 4:53 
Questionjavascript with usercontrol Pin
Mohammed Elkholy13-Jul-09 2:49
Mohammed Elkholy13-Jul-09 2:49 
AnswerRe: javascript with usercontrol Pin
Not Active13-Jul-09 4:12
mentorNot Active13-Jul-09 4:12 

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.