Link to home
Start Free TrialLog in
Avatar of clintnash
clintnashFlag for United States of America

asked on

Insert Content into multiple pages

I have a block of code (dynamic menu) that I created in ASP.NET, I want to drop it on every page in my site.  My web design experience is limited to Visual Studio and Microsoft Frontpage.  In Frontpage you selected the table cell where you wanted it and clicked included content, selected the file name and there it was.  Is there a way to include content into a table cell in Dreamweaver like there is in Frontpage?

I am looking for edit in one place, show it in many when its all said and done.

Thanks,
Clint...

ASKER CERTIFIED SOLUTION
Avatar of Irwin Santos
Irwin Santos
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Whoops.

Sorry, irwinpks.  I forgot to refresh before posting....
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
@rockmansattic...i never ran into that problem...

Here is a site that has OVER 100 pages.

http://www.ohanaroad.net
Rockman,

Me either.  I can run DW templates over several hundred pages with no issues.
I never used DW Templates, so i dont really know how they work.
But Includes Files are the way to go, its a pretty standard way in web development to include files Server Side. Almost all Web Langauges Support this method and programmers can do it without relying on DW.

javaScript also Supports include File option (Thats only if the Menu is built using javaScript).

Since Poster is using Asp.net, so the solution for you is to use User Controls in Asp.net. all you have to do is Create a Control and Then Drop that Control into your Pages. it will give you best performance in Asp.net envirnoment.

here is the URL to learn more about them..

http://www.15seconds.com/Issue/020319.htm

Good Luck
include files are a way to go..but that is old school.. when desigin for robust scalability, cascading style sheets & templates facilitate production on the website.
As a Designer point of view cascading style sheets & templates might  facilitate production, but User Controls and Include Files cover way more then that, such as Database Connectivity, interacting with Com objects, Dynamic Driven menus and alot of other stuff. you might can do the same thing with templates(maybe), but templates are supported only in DW again.
@adiklhan, you can embed <include files> & dynamic content within the template easily. As noted in my first post, the declaration of VBSCRIPT is part of DW creation of a Dynamic HTML ASP Vbscript page.

I propose 3-way split..

irwinpks (1st comment), rockmanstatic (1st comment), and jason1178 (1st comment)
I'm fine with not getting points, as I basically duplicated irwinpks' answer...
it's cool.sharing the wealthy..basically you posted the same time.
:-)

Your answer was better anyway...
Avatar of clintnash

ASKER

Sorry for the delay in responding, my priorties were shifted and I didn't get a chance to try out the solutions proposed until today.  Thanks to everyone who commented.

Clint...
cool..thank you!