Solved

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

Posted on 2010-09-02
3
608 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 500 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now