472,128 Members | 1,701 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,128 software developers and data experts.

Using ATLAS with dynamically generated header

We have a very large site which uses Page inheritence. All pages inherit
from a few base classes, which in turn inherit from Page. The purpose of
this is to centrally control header and footer content, as well as a custom
permissions-system. All <html>, <head>, and <body> tags are generated in the
parent class using writer.Write (in Render), then base.Render is called to
generate the content of the subclass (each page).

Unfortunately this design does not seem to be compatible with ATLAS, because
ATLAS requires the <head runat=server> tag to be declared in the body of each
page. How can we overcome this issue? Obviously, changing the structure of
our site is not an option, since it is very large and would be extremely time
consuming.

Thanks.
Jun 6 '06 #1
1 973
instead of writing html in the render event, have the base page create the
custom header and footer as actual controls in the oninit event.

-- bruce (sqlwork.com)
"John" <Jo**@discussions.microsoft.com> wrote in message
news:7F**********************************@microsof t.com...
We have a very large site which uses Page inheritence. All pages inherit
from a few base classes, which in turn inherit from Page. The purpose of
this is to centrally control header and footer content, as well as a
custom
permissions-system. All <html>, <head>, and <body> tags are generated in
the
parent class using writer.Write (in Render), then base.Render is called to
generate the content of the subclass (each page).

Unfortunately this design does not seem to be compatible with ATLAS,
because
ATLAS requires the <head runat=server> tag to be declared in the body of
each
page. How can we overcome this issue? Obviously, changing the structure
of
our site is not an option, since it is very large and would be extremely
time
consuming.

Thanks.

Jun 6 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Brad Baker | last post: by
3 posts views Thread by rodchar | last post: by
6 posts views Thread by _Who | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.