Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Include Files Equivalent in ASP.NET

Status
Not open for further replies.

starbuckinfinity

Programmer
Jan 31, 2005
8
US
hi. In classic ASP, include files were used for content that would allow you to store content in one file that could simply be "included" in other files that needed the same content. An example would be navigation bars, shared components, etc. I know there are these "server controls" in ASP.NET which are supposed to be similar to include files, but what about files which hold just mainly content things and components that are not functional? Is there anything in ASP.NET that does the equivalent without being for the purpose of building functional components? Or do you just have to put the same code on every page in ASP.NET? With classic ASP, whenever a change needed to be made to, say, a navigation, it was so easy just to open one file and do it in that file. Now, with ASP.NET, if you have to make a change, you would have to open every file that common component was on and make the change if there is no equivalent. Will someone please help me out on this? Thank you.
 
Like Rick said, check the ASP.Net forum. I'm not very good at web development. But from a general programming stand point, it makes sense to me that one could have a file, and have his ASP.net program write the contents of the file on Page_Load.
 
thanks, I didn't see that forum, and .NET is so huge, it has so many different parts to it. I was using VB.NET in my code as opposed to C#.NET with ASP.NET, which is why I thought it would be best to post here since I couldn't find the ASP.NET forum. But thanks...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top