Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 27th, 2004, 03:36 PM
Registered User
Join Date: Aug 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default C# site framework


I just want to confirm if I am reading this correctly or if I am missing something;

In ThePhile sample the header, menu and footer is included in each .aspx page. So my concern is what if you want to change the structure of the framework? Say the design changes and calls for a sub header that cannot be included in the header tag, do I have to go to every page and add the sub header include code? If I do is there not a better way?

We want the design to be as flexible as possible, kind of like with a frameset (although I won't be using one) where you can change the underlying structure just by changing the main frame page.


  #2 (permalink)  
Old August 27th, 2004, 04:53 PM
Authorized User
Join Date: Aug 2004
Location: , , .
Posts: 82
Thanks: 0
Thanked 0 Times in 0 Posts


 U don't need to go to every page and change something.
Use user controls and when you develop it drag it and drop it to all the pages and if you need to change something u will change it in the user control not in the pages. ok?

  #3 (permalink)  
Old August 27th, 2004, 06:18 PM
Friend of Wrox
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts

That's right - each user control is like a separate page that gets included in each page (the .net method of doing include files).

This can get out of control if you have a large number of user controls, and the placement on tags on the screen can get complicated. Sometimes a tag opened in the header user control is closed in the footer user control.

To solve many of these "user control hell" issues, ASP.NET 2.0 introduces the concept of Master Pages. This is a much cooler way of handling standard content in many pages.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Publish Web Site & Copy Web Site angshujit ASP.NET 2.0 Basics 1 June 15th, 2007 09:21 AM
changing host server framework 2.0 from framework jay_vijesh ASP.NET 1.x and 2.0 Application Design 1 September 11th, 2006 02:18 PM
How use framework components in compact framework? r_bazghaleh C# 0 February 19th, 2006 05:05 AM
how do i change the site icon on a geocitiies site uprocker2 HTML Code Clinic 2 March 4th, 2005 07:20 AM
Framework 1.0 to 1.1 reyboy General .NET 2 September 16th, 2004 02:12 PM

All times are GMT -4. The time now is 10:22 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.