I have a very very long page, and to make html easier to read, I would like to split the pages into several subpages.
To manage my controls on the page, I already split my page with code in several files.
I would like to do the same with my aspx. What would I call this subpage and how would I start them? (for example, no <% @Page [...] ...>).
So far I have tried <!-- #Include virtual="~/path/page.aspx" --> with an empty aspx page (only "test" in aspx, no code).
It works, but then VS2010 throws me a bunch of errors (Too many characters in a literal literal.)
change
I would prefer not to use user controls:
I already use a lot of these. In this case, there is no need for reuse. These controls will also contain only other user controls. And I donβt want to disagree too much with the layout of all my other pages (which are shorter). Most pages have 3-4 controls, but this one has as much as 50. I would just like to split it into several html pages.
source share