Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2005

Tip: Looking for answers? Try searching our database.

developing a website using ASP.NET

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Patrick - 23 Oct 2005 03:49 GMT
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),
Guadala Harry - 23 Oct 2005 05:48 GMT
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

>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
[quoted text clipped - 25 lines]
> Thus making changes to the base template will affect all other pages (with
> little effort),
Patrick - 23 Oct 2005 06:53 GMT
I found the best way, (or i think so),

http://www.devx.com/dotnet/Article/18011/0/page/1

>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
[quoted text clipped - 25 lines]
> Thus making changes to the base template will affect all other pages (with
> little effort),
Jon Paal - 23 Oct 2005 18:29 GMT
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#.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.