Solved

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

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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

770 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