Hello All.

ASP.NET (VB or C# Question referencing the ASPX.vb or ASPX.cs files)

In Classic ASP we use INCLUDE FILE to place code in another page and reference the code in other pages.
This helps to keep things much more organized and helpful in adding in new elements as we know what page to go to, instead of what LINE NUMBER to go to.

In ASP.NET, is there such a thing?
Can we do this within the aspx.vb or aspx.cs file?
Or do we just have to deal with large coded files only?

I was given a suggestion, which I am not certain about, which is client-side rendering. (Will have to research it to see if it is something that would work in my scenario.)

Currently, my file is at 2351 lines, which is not many compared to other projects.
However, it would be nice to break the page up into segments, to make it easier to work with.

Any ideas?
Thanks.