473,325 Members | 2,480 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,325 software developers and data experts.

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 1390
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.uik> wrote in message
news:es**************@TK2MSFTNGP10.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.uik> wrote in message
news:es**************@TK2MSFTNGP10.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
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...
2
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...
3
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...
5
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...
2
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...
5
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...
2
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...
3
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...
7
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
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.