473,796 Members | 2,916 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1013
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**@discussio ns.microsoft.co m> wrote in message
news:7F******** *************** ***********@mic rosoft.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
38340
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 pages using the require_once function. That is, each page includes the line <?require_once('PageStart.php')?>
4
1823
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 the content. However, when I output the content to a literal (as shown below) the body and html tags are within the form tags. Is there any way to position the form tags within the dynamically generated text (ie to just after the opening body...
7
3632
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 simple and schematic, to see if there is a simple Ajax answer to this. A. I have an HTML page which has some pure html/css code representing a GRID of cell. The page may also contain other objects (images, etc). B. On the server I have a windows...
4
2226
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 written seems to work fine on my local machine but when I upload it and execute it on the server the page doesn't use AJAX. (It reloads the entire page each time I make a change). I've loaded atlas on the server and I've uploaded several atalas...
4
2044
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 cache, using AJAX. So I'm not looking for a possibility to wrap-up controls, but just to call server-site code from ATLAS. I know this can be done using AJAX, so in my opinion this should also be possible using ATLAS, or can ATLAS just be used...
3
1272
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 atlas come into play if i have dynamic stuff in both the header and the body. i tried putting an update panel in each of the sections but it didn't like that (and that's pretty much the extent of my knowledge for atlas).
1
4287
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 have four columns in gridview. Any suggestions guys This is what i used but i keep getting error Private Sub changestyle() GridView1.Columns(1).HeaderText = "First Name"
0
1792
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 solutions provider to the 3PL and logistics markets, announced the release of ATLAS BI, a state of the art business intelligence module as an addition to Advanta's ATLAS logistics suite. ATLAS BI comes as a result of a partnership with local business...
6
2561
by: _Who | last post by:
I use the code below to change to a style sheet that has: body { ....
0
9536
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10468
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10021
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9063
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7559
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5458
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4131
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3748
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2933
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.