473,396 Members | 2,002 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 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 1003
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: the wonderer | last post by:
This is an elementary question, but I've not been able to find the answer, so here goes: I am developing a site using php. I have the html header information in a file that I include in all the...
4
by: Stu | last post by:
Hi, I am writing a content management system that has to have W3C compliant output. The pages are template driven and there are special strings within the template to be used as placeholders for...
7
by: pamelafluente | last post by:
The precious input given by Laurent, Martin, Benjamin about XMLHttpRequest in Javascript, has made me think that perhaps I could improve what I am currently doing by using Ajax. Let's make it...
4
by: Brad Baker | last post by:
I'm trying to implement a gridview control using atlas & asp.net per the following article: http://weblogs.asp.net/scottgu/archive/2005/12/26/433997.aspx My frustration is that the page I've...
4
by: s.bussing | last post by:
Hi All, I'm new to Atlas and I did some programming using AJAX, but I'm wondering if it is possible to hava a javascript which can call a server-site function, in my case to write data to the...
3
by: rodchar | last post by:
hey all, i have a master page that consists of a header section and main body (in other words 1 column, 2row table). i placed a contentplaceholder in the header and in the body. so how does...
1
by: Sharon | last post by:
Hello All, I have a gridview control in webform which is dynamically populated on page startup with a query. I was trying to change the header text for the columns and also set wrap to false. i...
0
by: YellowFin Announcements | last post by:
Yellowfin, Powered by J2EE, Jasper, BIRT, Spring, jfreeChart Advanta releases ATLAS BI using Yellowfin Business Intelligence 3rd of August, 2007 - Advanta Software, specialist software...
6
by: _Who | last post by:
I use the code below to change to a style sheet that has: body { ....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.