[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Can I insert an HTML page into a contentplaceholder using code?

Posted on 2010-09-02
3
Medium Priority
?
661 Views
Last Modified: 2012-05-10
The Marketing department is creating an HTML page with the latest news and info.  I need to read that page into a contentplace holder.  Can that be done?
0
Comment
Question by:Elliott Ward
  • 2
3 Comments
 
LVL 35

Expert Comment

by:YZlat
ID: 33591091
you mean you want to display an external page inside you aspx page? yes, it can be done with either iFrame or <div> and AJAX
0
 
LVL 35

Accepted Solution

by:
YZlat earned 2000 total points
ID: 33591131
<asp:Content ID="Content1" contentPlaceHolderID="contentPlaceHolder1" Runat="Server">
<iframe id="content" width="100" height="1000" frameborder="0" src="yourpage.html">
</iframe>
</asp:Content>
0
 

Author Closing Comment

by:Elliott Ward
ID: 33597211
Thank you the was exactly what I needed.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Screencast - Getting to Know the Pipeline
Suggested Courses
Course of the Month20 days, 2 hours left to enroll

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question