Jump to content

iframes


knowledgehungry

Recommended Posts

Do you mean programmatically? Because .aspx pages are pretty much just like .html pages.This can be put in a .php page, a .jsp page, an .aspx page, or an .html page.

<iframe src="mypage.aspx"></iframe>

If you want to programmatically do it on the server-side, you can use something like a asp:Literal.In the .aspx:

<asp:Literal ID="FrameLiteral" runat="server />

In the code-behind (C#):

FrameLiteral.Text = "<iframe src=\"mypage.aspx\"></iframe>";

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...