473,606 Members | 2,110 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

developing a website using ASP.NET

I need to develop a website bearing the following in mind,
- the site will have to be dymanic (i.e. the layout can change from time to
time),
- its a church website

My initial intention was to go with frames, but I've learnt that thats just
not the way to go...
reasons for considering frames,
- the menus and header could be maintained in a single frame (static
content)
- the other pages could be loaded into another frame (when user wants to
navigate),,
- faster in downloading - only the pages get downloaded (the menus and stuff
are in the other frames hence they don't get downloaded)

not going for frames,
- this is not the ASP.NET way
- not all browsers support frames
- if for instance the body of a page loaded into the frame is
"ContactUs.aspx ", and if the user tries to google and finds this page
, then if the user navigates to this ContactUs.ASPX, then the frameset will
not load (menus, headers etc are all missing)

WHAT DO I NEED?
===============
I basically need to use ASP.NET - and want to use a template for each page.
Thus making changes to the base template will affect all other pages (with
little effort),

Nov 19 '05 #1
3 1406
ASP.NET has something called "User Controls" which is basically a "page
section" that can appear on multiple pages. A User Control can contain both
static HTML and dynamic content (with server-side logic behind it). You
could put your menu in one user control; the header in another, and both
user controls on each page. At runtime, ASP.NET merges the HTML of each user
control onto the final rendered page before sending the page down to the
browser. This would give you some of the benefits of "code reuse" that you
like about frames - but without incurring some of the limitations of frames
that you correctly observed.

-HTH
"Patrick" <pr***@pnews.ui k> wrote in message
news:es******** ******@TK2MSFTN GP10.phx.gbl...
I need to develop a website bearing the following in mind,
- the site will have to be dymanic (i.e. the layout can change from time
to time),
- its a church website

My initial intention was to go with frames, but I've learnt that thats
just not the way to go...
reasons for considering frames,
- the menus and header could be maintained in a single frame (static
content)
- the other pages could be loaded into another frame (when user wants to
navigate),,
- faster in downloading - only the pages get downloaded (the menus and
stuff are in the other frames hence they don't get downloaded)

not going for frames,
- this is not the ASP.NET way
- not all browsers support frames
- if for instance the body of a page loaded into the frame is
"ContactUs.aspx ", and if the user tries to google and finds this page
, then if the user navigates to this ContactUs.ASPX, then the frameset
will not load (menus, headers etc are all missing)

WHAT DO I NEED?
===============
I basically need to use ASP.NET - and want to use a template for each
page.
Thus making changes to the base template will affect all other pages (with
little effort),

Nov 19 '05 #2
I found the best way, (or i think so),

http://www.devx.com/dotnet/Article/18011/0/page/1
"Patrick" <pr***@pnews.ui k> wrote in message
news:es******** ******@TK2MSFTN GP10.phx.gbl...
I need to develop a website bearing the following in mind,
- the site will have to be dymanic (i.e. the layout can change from time
to time),
- its a church website

My initial intention was to go with frames, but I've learnt that thats
just not the way to go...
reasons for considering frames,
- the menus and header could be maintained in a single frame (static
content)
- the other pages could be loaded into another frame (when user wants to
navigate),,
- faster in downloading - only the pages get downloaded (the menus and
stuff are in the other frames hence they don't get downloaded)

not going for frames,
- this is not the ASP.NET way
- not all browsers support frames
- if for instance the body of a page loaded into the frame is
"ContactUs.aspx ", and if the user tries to google and finds this page
, then if the user navigates to this ContactUs.ASPX, then the frameset
will not load (menus, headers etc are all missing)

WHAT DO I NEED?
===============
I basically need to use ASP.NET - and want to use a template for each
page.
Thus making changes to the base template will affect all other pages (with
little effort),

Nov 19 '05 #3
recommended coding style examples can be found in starter kits at www.asp.net

------------------------------------------------------------------------------------
I would much rather chew on tinfoil than code in C#.

Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1408
by: Remi | last post by:
Hello Everybody! I am going to develop a multi-language website which will include Traditional Chinese, Simplified Chinese, Thai, Japanese, etc. (and English as well). I would like to take an advantage of support that ASP.NET has to offer for localizing. Probably I will use resources and to retrieve localized text among with XML serialization of datasets. There is no need to store data in the SQL Server database, since the
2
305
by: G-Fit | last post by:
Hello group, I have several ASP.NET websites using (so far) a console application (from a collection of parameters, this application builds a PDF file through several professional tools in DOS mode). The websites launch the application when appropriate, and we know where the PDF file will be when the console application is finished (that one also create a log file to state if every step went fine, or what errors happened). Here is what...
3
4199
by: Alastair | last post by:
Hello guys, I've been building a search facility for an intranet site I'm part of developing and we've been building a search engine using Index Server. It mostly works, however there have been a few niggling problems and fixing it seems to be a case of patching errors as we find them so I'm thinking that it might be worth starting the logic from scratch and rebuilding this again. Basically we have a simple search, which is simply a...
5
1508
by: Peter | last post by:
Hi All, I am a novice .NET developer, using a 60 trial version of VS.NET 2003 to learn .NET. I would like to develop a website which can be accessed from a mobile device. What are my options, - If I am to use .NET, then do i need a licensed version of .NET for this. - Can I develop my small website using my 60 day trial version & deploy this
2
1130
by: Giammarco | last post by:
Hi all, I'm developing an ASP.NET website and thinking about releasing the API through webservices in a couple of months (like flickr.com let's say). Most of the website functionality is restricted to authenticated users. Users are classified in different roles, and different roles can take different actions. E.g. Guest can call a function to delete one of his articles, but
5
3300
by: will | last post by:
I have a php/mysql site and I am wondering if anyone has suggestions about strategies for making it bilingual or resources on how to do this. I thought of one way which would be to replace the text with calls to a database which has all the text in it. But I would prefer to have a single file with phrases and then just be able to translate that single file into another language to produce a site in another language. Any ideas would be...
2
1486
by: David | last post by:
Hi there, I have to re-write our website to be able to be viewed on PDAs. However, I am not finding much information about writing for PDA apart from palmpilot. I have a Xda Exec (Mobile phone device on the O2 network in the UK). This is currently running Windows Mobile. The UA is... Mozilla/4.0+(compatible;+MSIE+4.01;+Windows+CE;+PPC;+240x320)
3
1493
by: | last post by:
I'm trying to create a project on a virtual server that runs on port 8000, rather than port 80. I tried creating the project at http://localhost:8000/MyFolder but it keeps telling me that the file path doesn't map to the url. Is there some trick to using different port numbers? Thanks. Jerry
7
4155
by: sassy | last post by:
hi Im new here....i am developing awebsite using Flash.... i want to know what programming language can best be used with flash....
0
8009
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7939
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
8432
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
8428
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8299
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
6753
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...
0
3964
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2442
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
1
1548
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.