• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 662
  • Last Modified:

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

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
Elliott Ward
Asked:
Elliott Ward
  • 2
1 Solution
 
YZlatCommented:
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
 
YZlatCommented:
<asp:Content ID="Content1" contentPlaceHolderID="contentPlaceHolder1" Runat="Server">
<iframe id="content" width="100" height="1000" frameborder="0" src="yourpage.html">
</iframe>
</asp:Content>
0
 
Elliott WardSoftware DeveloperAuthor Commented:
Thank you the was exactly what I needed.
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now