Including ASPX pages within other ASPX pages?

notfred

Lifer
Feb 12, 2001
38,241
4
0
This is probably really easy to do, but I want to have an ASPX (ASP.NET) page run, and be able to include other ASPX pages, so that all of the includes are parsed by IIS.

Anyone know how to do that?

Basically I want an equivelent of this:
<!-- #include file="file.html" -->

That works with this:
<!-- #include file="file.aspx" -->