|
-
Feb 14th, 2025, 08:58 AM
#1
Thread Starter
Member
ASP Classic INCLUDE FILE Equivalent in ASP.NETs ASPX.vb or ASPX.cs
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.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|