C
Chad A. Beckner
I am (and have been trying!) to find a good way to do the following few
things:
1. When a user requests a .aspx/.htm/.html file, the file needs to be
automatically integrated into a page template. In ASP.NET, how can I do
this?
2. I know I can put custom controls, map .htm/.html files to utilize custom
controls, etc, but I don't want to go through and update 2000 pages (and
growing) to .aspx files and then add the controls.
Basically, I want to send .aspx/.htm/.html files to a "site template" page,
or control (but which?). If I use either, how can I a) integrate the server
controls properly; b) load the contents of the page they requested into my
site template file? I was able to do all this with .ASP using an ISAPI
filter to intercept the requests and change the path of the request to (for
example) site_template.asp. Any ideas and thoughts would be very much
appreciated.
And yes, I've tried googling asp.net template, and many other queries, but
99% of them refer to utilizing web controls. I need this also interact with
..htm/.html files in the most efficient manner possible.
Thanks for any help!
Chad
things:
1. When a user requests a .aspx/.htm/.html file, the file needs to be
automatically integrated into a page template. In ASP.NET, how can I do
this?
2. I know I can put custom controls, map .htm/.html files to utilize custom
controls, etc, but I don't want to go through and update 2000 pages (and
growing) to .aspx files and then add the controls.
Basically, I want to send .aspx/.htm/.html files to a "site template" page,
or control (but which?). If I use either, how can I a) integrate the server
controls properly; b) load the contents of the page they requested into my
site template file? I was able to do all this with .ASP using an ISAPI
filter to intercept the requests and change the path of the request to (for
example) site_template.asp. Any ideas and thoughts would be very much
appreciated.
And yes, I've tried googling asp.net template, and many other queries, but
99% of them refer to utilizing web controls. I need this also interact with
..htm/.html files in the most efficient manner possible.
Thanks for any help!
Chad