I used to use do something like this in ASP:
<!--#include virtual="Header.asp"-->
<!--#include virtual="LeftBar.asp"-->
<!--#include virtual="Content.asp"-->
<!--#include virtual="RightBar.asp"-->
<!--#include virtual="Footer.asp"-->
This will help me set up the basc layout of the site. Should I still use this in ASPX or is there a better way. If possible is there a site or place where I can read more about this.You can still use includes, but with Asp.Net there is a much better way - User Controls. Someone described these (the have the file extension .ascx) as include files on stereoids, due to the power you can build into these files. To learn more about these controls, you may starthere. If you do a Google Search using the words:
"User controls" tutorial Asp.Net
you will find a lot more.
hth.
Thank you
I have heard of the .ascx files but never knew what is was
0 comments:
Post a Comment