Click here to Skip to main content
15,888,803 members

Comments by caulsonchua (Top 12 by date)

caulsonchua 31-Jul-13 4:54am View    
For the exmaple ,i use iframe in asp.net and connect into path file, it will display the pdf file. so, what if i upload the file into path file and it will display the file.

<iframe
src ="file:\\acmk\test\2013.pdf#toolbar=0&navpanes=0&statusbar=0&view=60%"
width="800" height="400" align="right"></iframe>
caulsonchua 31-Jul-13 4:45am View    
Dear Tadit Dash,

Any reference or example code for me to start on this ?
caulsonchua 31-Jul-13 4:44am View    
Yes, my concept as like forum key in the information or upload the pdf file in the web based, then it will show out the details ?
caulsonchua 31-Jul-13 4:40am View    
Dear Rohan Leuva,

the webpage i want to design is allow user to key in the announcement details and able to upload into web based.
caulsonchua 3-Jul-13 3:50am View    
Code Behind

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace acmkweb.Guide
{
public partial class HRPolicy : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

string pdfUrl = "MKZHR-01-002(V000) Oversea and Local Business Trip.pdf";
pnlPdfHrBook.Controls.Add(new LiteralControl("<object id='pdfFrame' style='margin-top:-50px;' height='600px' width='950px' data='" + pdfUrl + "'> </object>"));
}



}
}