15,888,803 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
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>"));
}
}
}
caulsonchua
3-Jul-13 3:50am
View
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="HRPolicy.aspx.cs" Inherits="acmkweb.Guide.HRPolicy" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<asp:Table ID="Table1" runat="server">
<asp:TableHeaderRow ID="TableRow1" runat="server" ForeColor="Black" Font-Size="Medium">
<asp:TableHeaderCell BorderColor="Black" BorderWidth="0" HorizontalAlign="Center">
MKZHR-01-002(V000) Oversea and Local Business Trip
<asp:TableHeaderRow ID="TableHeaderRow1" runat="server" ForeColor="Black" Font-Size="Medium">
<asp:TableHeaderCell BorderColor="Black" BorderWidth="0" RowSpan="2" Width="700">
<div style="vertical-align:top;text-align:center">
<style type="text/css">
.pnl1
{
margin-top:-550px;
}
</style>
<script type="text/javascript">
window.onload = function fun1() {
var ristrictSite = navigator.userAgent;
if (ristrictSite.match("Chrome")) {
window.open("../HRPolicy.aspx", "_self");
}
return true;
}
</script>
<body>
<asp:panel id="pnlPdfHrBook" runat="server" backcolor="White" xmlns:asp="#unknown">
</body>
caulsonchua
1-Jul-13 20:55pm
View
Hi, i still can print out the pdf document. i use google chrome
caulsonchua
1-Jul-13 3:45am
View
How about IE 8 and IE 9 ?
caulsonchua
1-Jul-13 2:43am
View
i use google chrome and IE
caulsonchua
1-Jul-13 2:31am
View
HI, Thank you for reply, i had try run the script, but it allow me to print out the document, Any ideas ?
caulsonchua
24-Jun-13 3:37am
View
HI Prasad_Kulkarni, im searching from Google get the all example code is link with DB, but based on my coding is save the data in view state first, then only update into DB, the problem i facing now is how to delete the data in view state before update into DB?
any example ?
caulsonchua
24-Jun-13 1:56am
View
HI Heaven.W, 可以show example吗?因为我不明白。感谢
Show More