Click here to Skip to main content
15,892,927 members
Home / Discussions / ASP.NET
   

ASP.NET

 
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 
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 
Kumar Kush wrote:
Worst thing, the PDF shows up in Acrobat reader.


Of course it does. The ONLY way a browser can show a PDF, is if Acrobat is installed, and then it runs in your browser.

Kumar Kush wrote:
Dim client As New WebClient
Dim buffer() As Byte = client.DownloadData(strFilePath)


I have no idea what this is, but Response.WriteFile is the best way to write out a file, because you don't create a copy in memory.

Kumar Kush wrote:
If strFilePath.EndsWith(".pdf") Then


Given that your path is hard coded, this seems superfluous.

Overall, what you're doing should work. I don't know why IE is not opening it with Acrobat, I would have expected it to, unless Acrobat is not installed for IE, for some strange reason. you could also try adding a Response.End at the end of all that, and see if it makes any difference, but I doubt it.

Christian Graus

Driven to the arms of OSX by Vista.

Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

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 
QuestionAsk for promotion when Window has to be close Pin
ksss_maheshece13-Jul-09 1:58
ksss_maheshece13-Jul-09 1:58 

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.