Click here to Skip to main content
15,890,506 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Multichoice quiz Pin
Perspx25-Sep-08 10:00
Perspx25-Sep-08 10:00 
GeneralRe: Multichoice quiz Pin
Paul Conrad25-Sep-08 10:04
professionalPaul Conrad25-Sep-08 10:04 
GeneralRe: Multichoice quiz Pin
Perspx25-Sep-08 20:14
Perspx25-Sep-08 20:14 
AnswerRe: Multichoice quiz Pin
Perspx25-Sep-08 9:34
Perspx25-Sep-08 9:34 
GeneralRe: Multichoice quiz Pin
sachees12326-Sep-08 1:50
sachees12326-Sep-08 1:50 
GeneralRe: Multichoice quiz Pin
Jörgen Andersson26-Sep-08 5:47
professionalJörgen Andersson26-Sep-08 5:47 
GeneralRe: Multichoice quiz Pin
Perspx26-Sep-08 6:03
Perspx26-Sep-08 6:03 
QuestionPDF not rendering properly in Web page Pin
kc_krishnan25-Sep-08 2:14
kc_krishnan25-Sep-08 2:14 
Hi All,
I'm trying to show a PDF document in my webpage hosted in plumtree portal.
The code is executing perfectly but the page is not showing as a PDF rather its showing it as the encoded pdf source.
Following is what is shwon in the webpage "%PDF-1.4 %âãÏÓ 4 0 obj ....."

The code im using is as follows:

MemoryStream ms = new MemoryStream();
//...

ms object will be populated with the pdf data created dynamically.
.....//
Response.ContentType = "application/pdf"; //when i try "text/html" im getting the encoded pdf file in the page like %pdf- ....

Response.Buffer = true;
Response.Clear();
Response.OutputStream.Write(ms.GetBuffer(), 0, ms.GetBuffer().Length);
Response.OutputStream.Flush();
Response.End();

Im using vs2003 C#
Please help me in this issue. This is an urgent requirement.
AnswerRe: PDF not rendering properly in Web page Pin
Jörgen Andersson26-Sep-08 6:12
professionalJörgen Andersson26-Sep-08 6:12 
QuestionNavigation Pin
sirisha guttikonda24-Sep-08 23:44
sirisha guttikonda24-Sep-08 23:44 
AnswerRe: Navigation Pin
Johnny ²25-Sep-08 1:19
Johnny ²25-Sep-08 1:19 
GeneralRe: Navigation Pin
sirisha guttikonda25-Sep-08 1:59
sirisha guttikonda25-Sep-08 1:59 
GeneralRe: Navigation Pin
Johnny ²25-Sep-08 8:59
Johnny ²25-Sep-08 8:59 
AnswerRe: Navigation Pin
Ashfield25-Sep-08 2:10
Ashfield25-Sep-08 2:10 
AnswerRe: Navigation Pin
Jörgen Andersson26-Sep-08 6:29
professionalJörgen Andersson26-Sep-08 6:29 
GeneralRe: Navigation Pin
sirisha guttikonda28-Sep-08 18:16
sirisha guttikonda28-Sep-08 18:16 
QuestionXML in string format Pin
Brendan Vogt24-Sep-08 23:17
Brendan Vogt24-Sep-08 23:17 
AnswerRe: XML in string format Pin
Jaffer Mumtaz2-Oct-08 1:07
Jaffer Mumtaz2-Oct-08 1:07 
Questionweb publish with database update problems Pin
CathyBlcux24-Sep-08 22:08
CathyBlcux24-Sep-08 22:08 
QuestionRun external javascript Pin
Saam_cse24-Sep-08 21:52
Saam_cse24-Sep-08 21:52 
AnswerRe: Run external javascript Pin
Shog926-Sep-08 5:42
sitebuilderShog926-Sep-08 5:42 
QuestionLarge XML File Pin
Brendan Vogt24-Sep-08 19:49
Brendan Vogt24-Sep-08 19:49 
AnswerRe: Large XML File Pin
Perspx24-Sep-08 20:19
Perspx24-Sep-08 20:19 
AnswerNotepad XML Pin
David Mujica25-Sep-08 3:31
David Mujica25-Sep-08 3:31 
AnswerRe: Large XML File Pin
Mohammad Dayyan29-Sep-08 0:50
Mohammad Dayyan29-Sep-08 0:50 

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.