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

how to setup website layout

Hi all,

I am looking for a correct way to setup my website layout. For instance: I
would like to have a selection mechanism (like tree or something) on the
left and the page data on the right.

I tried several ways now to implement some kind of mechanism. For instance
using frames, loading user controls in a placeholder on the right side,
loading pages in an iframe tag on the right side, etc. Some of these options
I implemented but most of them but I am still looking for the in my eyes
correct way. Most of them resulted in some strange problems i had to solve,
so it didn't seem the correct way to me.

Can you tell me what ways U use, and what way is in your opinion the correct
way to implement this.

Thanks for your help.

Ralph Soons
Nov 18 '05 #1
2 1498
I understand the giant head (Microsoft) is going to address this in a
future version of VS.NET, but for now, I typically use the same
techniques I have used in legacy ASP coding, but updated for .NET.

Make your lefthand menu system a user control and insert it into each
page. Same for a header / footer or whatever. It kind of turns the
concept of a template around, but does give you single source
maintainability of the parts of your pages.

If you want to really enforce the page layout, you could create an
initial page, save that and then inherit from it for the rest of your
application. This would force you to have the same layout on all
pages.

Dan
On Mon, 19 Jan 2004 15:40:09 +0100, "Ralph Soons"
<ralph(ralph)@soons.demon.nl> wrote:
Hi all,

I am looking for a correct way to setup my website layout. For instance: I
would like to have a selection mechanism (like tree or something) on the
left and the page data on the right.

I tried several ways now to implement some kind of mechanism. For instance
using frames, loading user controls in a placeholder on the right side,
loading pages in an iframe tag on the right side, etc. Some of these options
I implemented but most of them but I am still looking for the in my eyes
correct way. Most of them resulted in some strange problems i had to solve,
so it didn't seem the correct way to me.

Can you tell me what ways U use, and what way is in your opinion the correct
way to implement this.

Thanks for your help.

Ralph Soons


Nov 18 '05 #2
we do this by only having a single page for the entire site which includes
the basic layout plus place holders for menu & content.
the actual menus&content are web user controls that are added to the page at
runtime depending on the context in which the page is called.
"Dan Brussee" <db******@nc.rr.com> wrote in message
news:gk********************************@4ax.com...
I understand the giant head (Microsoft) is going to address this in a
future version of VS.NET, but for now, I typically use the same
techniques I have used in legacy ASP coding, but updated for .NET.

Make your lefthand menu system a user control and insert it into each
page. Same for a header / footer or whatever. It kind of turns the
concept of a template around, but does give you single source
maintainability of the parts of your pages.

If you want to really enforce the page layout, you could create an
initial page, save that and then inherit from it for the rest of your
application. This would force you to have the same layout on all
pages.

Dan
On Mon, 19 Jan 2004 15:40:09 +0100, "Ralph Soons"
<ralph(ralph)@soons.demon.nl> wrote:
Hi all,

I am looking for a correct way to setup my website layout. For instance: Iwould like to have a selection mechanism (like tree or something) on the
left and the page data on the right.

I tried several ways now to implement some kind of mechanism. For instanceusing frames, loading user controls in a placeholder on the right side,
loading pages in an iframe tag on the right side, etc. Some of these optionsI implemented but most of them but I am still looking for the in my eyes
correct way. Most of them resulted in some strange problems i had to solve,so it didn't seem the correct way to me.

Can you tell me what ways U use, and what way is in your opinion the correctway to implement this.

Thanks for your help.

Ralph Soons

Nov 18 '05 #3

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

Similar topics

0
by: Mads | last post by:
Hi we see some strange behavior with the latest version of our deployment package Background We have a .Net product that is deployed via a website. Developed with VS.Net 2003, the deployment...
0
by: amber | last post by:
Hi there, I'm having trouble with the page setup in a report I've created. Originally I copied an existing report (that was setup as landscape layout). On the new report, I changed the layout to...
9
by: Arsalan | last post by:
Which softwares do pros recommend on making ASP.NET website ? Which software do you prefer ? I think Visual Studio is not that good at making a website, so what combination of softwares do u guys...
7
by: John | last post by:
Hi How can I change the printer page layout to landscape via code? Basically I would like to avoid having the user set the layout every time manually. Thanks Regards
2
by: A.Carter | last post by:
I am developing a windows application with Visual Studio 2003 using C#. The application is complete so naturally I went to create a setup package. I added a setup project to the solution and I went...
2
by: PrinceDeeDer | last post by:
im trying to edit my blog layout to fit my website layout so i kind of just mixed my homepage HTML with the blog HTML and it has a few bugs in it. i was wondering if anybody could help me fix it or...
18
by: fishwick | last post by:
I haven't really done any css in quite a while, and am banging my head against the wall trying get the rudimentary layout together of a church website home page to display correctly - I don't want...
1
by: ganich | last post by:
Hello, i am looking for a Php script which could help me in organising my website. Ok the problem ... i have created index.html and made full layout in it. I use iframe in a table to view the...
1
by: ganich | last post by:
Hello, i am looking for a javascript which could help me in organising my website. Ok the problem ... i have created index.html and made full layout in it. I use iframe in a table to view the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
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,...

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.