Current location: Hot Scripts Forums » Programming Languages » ASP.NET » I don't want to use frames, what else can I use?


I don't want to use frames, what else can I use?

Reply
  #1 (permalink)  
Old 12-09-04, 01:43 PM
polanhe's Avatar
polanhe polanhe is offline
Newbie Coder
 
Join Date: Aug 2004
Location: Guatemala
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
I don't want to use frames, what else can I use?

I have to build a site, with the classic Header, left menu and contents.

but I don't want to use frames.

what alternative options do i have??


with tables I have to do all the three things on each pages... sugestions???

I already made a webcontrol for the header.
Reply With Quote
  #2 (permalink)  
Old 12-09-04, 02:21 PM
koncept
Guest
 
Posts: n/a
use a table and then use a include in the part of the table that needs it
Reply With Quote
  #3 (permalink)  
Old 12-09-04, 02:24 PM
polanhe's Avatar
polanhe polanhe is offline
Newbie Coder
 
Join Date: Aug 2004
Location: Guatemala
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
with that technique, every single page must have the same table "template" ??
__________________
Ich finde dich !
Reply With Quote
  #4 (permalink)  
Old 12-09-04, 03:00 PM
koncept
Guest
 
Posts: n/a
generaly. but i think you could do a main page layout in the root and then pass a querystring value to a script taht will read the page and display the contents in the "main" square of the table if that would be better
Reply With Quote
  #5 (permalink)  
Old 12-09-04, 05:14 PM
polanhe's Avatar
polanhe polanhe is offline
Newbie Coder
 
Join Date: Aug 2004
Location: Guatemala
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Talking

Quote:
Originally Posted by koncept
generaly. but i think you could do a main page layout in the root and then pass a querystring value to a script taht will read the page and display the contents in the "main" square of the table if that would be better

tks.

I gonna try everything....

I'm open to all ideas.
__________________
Ich finde dich !
Reply With Quote
  #6 (permalink)  
Old 01-25-05, 01:00 PM
kathryn kathryn is offline
Newbie Coder
 
Join Date: Dec 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Use a table and usercontrols for the header and menu.
Reply With Quote
  #7 (permalink)  
Old 02-01-05, 07:49 PM
findyourhope's Avatar
findyourhope findyourhope is offline
Newbie Coder
 
Join Date: Jan 2005
Location: Virginia
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Wink Tables plus User Controls -OR- Page Inheritance

There are a couple of options you have when working with ASP.NET and trying to use a templating solution. Whidbey version is supposed to support build in templating but we have been waiting for that for some time.

Here are a couple of options and some links to some articles that you might find helpful:

1. Create a table layout and put user controls inside the table layout for the header and footer and nav. I use this scenario on my own websites. Yes, each page has to have the table code in it, but if you keep to a fairly simple layout this should not be a big deal. If you are truly adverse to this option, there are some more advanced options below...

2. Create a base class that does the rendering for each page and inherit that base class on each of your pages to automatically do the rendering, and use a placeholder control for placing your content in the middle. I did use this option on one of my sites a while back but I liked the simplicity and quickness of using the first solution better for my own needs so I stuck with that. But if you understand inheritance this is a good option. Here is an article about it this option: http://www.devx.com/dotnet/Article/18011

3. There are a bunch more complex solutions that you can use but I think for most applications one of the above two will suffice. If you have even more complex needs there are tons of articles out there on different ones and some prebuilt controls you can use for the rendering. So you will have to do a little digging for your specific needs if you need something more complex.

Hope that helps a little
__________________
Jennifer Wardwell
Software and Web Developer
Microsoft Certified Professional

FindYourHope.com Online Health Community
NewsWired.net News on Any Topic
DigitalAbstract.net Free Website Templates
Reply With Quote
  #8 (permalink)  
Old 04-12-05, 12:05 PM
polanhe's Avatar
polanhe polanhe is offline
Newbie Coder
 
Join Date: Aug 2004
Location: Guatemala
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks for the Help !


__________________
Ich finde dich !
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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 On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Flash help: Play frames in reverse Infinite_Hackers Flash & ActionScript 2 08-24-05 09:05 PM
How to solve this without using frames? Edward Han PHP 2 06-22-04 07:40 AM
i need help with the frames Ghetto2k4 HTML/XHTML/XML 8 03-19-04 07:44 AM
Source load into table not using frames moman JavaScript 1 03-09-04 06:32 AM
Reaaly stuck about javascript over frames muratisik JavaScript 1 12-14-03 11:58 AM


All times are GMT -5. The time now is 01:00 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.