Forums

This topic is locked

Include file problem

Posted 12 Apr 2007 14:53:09
1
has voted
12 Apr 2007 14:53:09 Mike Haez posted:
I've been searching high and low for a solution to this weird problem, but to no avail.

I'm having issues getting .asp include files to display in the design view of dreamweaver. In Preferences > Invisible Elements > Show contents of included files - it is checked.

This is where it gets stranger. With an old site I made with Dreamweaver MX, include file contents show up just fine - all the design elements are there. But if I make a new document and use an .asp include file, it doesn't show up in the design view in Dreamweaver 8 - even with the option to show includes checked.

I'm using the basic following code:

<!--#include file="navigation_menu.asp"-->

navigation_menu.asp doesn't contain anything special - just dynamically generated HTML with the usual vars pulled from a database. Even without the DB code, the include file still doesn't display the basic HTML in design view. Yet if I open up my old site - all the includes display just fine.

Anyone have any ideas? Feels like I am banging my head against a wall here.

Thanks in advance.

Replies

Replied 24 Apr 2007 14:48:47
24 Apr 2007 14:48:47 Neil Doherty replied:
Hi Mike,

I'm hoping you found a solution to this - as I have a similar issue.

I have a site XHTML+CSS which is using Server Side Includes.
The site displays correctly in MX 04 design view - but when I view in DW8 the includes are all over the place.
The footer is in the middle of the page etc..

Let me know if you found a solution - it may help me !

Neil

Reply to this topic