Print Page | Close Window

INCLUDE Function won't work

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Rich Text Editor (RTE)
Forum Description: Support forum for the Web Wiz Rich Text Editor (RTE).
URL: https://forums.webwiz.net/forum_posts.asp?TID=23533
Printed Date: 29 March 2026 at 7:40pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: INCLUDE Function won't work
Posted By: GhOs+
Subject: INCLUDE Function won't work
Date Posted: 15 June 2007 at 2:32pm
I'm using RTE to create simple HTML but occasionally I need to include other HTML files. However, if I add the following code in the RTE (I even verify that this same exact text is in the SQL record), the include wont work.
 
<!--#INCLUDE VIRTUAL="/path/file.htm"-->
 
If I add this include string to the ASP page that calls up the record, it pulls up fine, but if this string is in the actual record, it won't. Any idea?



Replies:
Posted By: WebWiz-Bruce
Date Posted: 15 June 2007 at 3:54pm
Include files will not work that way.

Include files are very particular how they work, you may want to do some reading up on them by doing a Google search.

You may want to also look at using an IFrame to get HTML from another page.



-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: GhOs+
Date Posted: 15 June 2007 at 7:24pm
Iframes did it - stacks of thanks!!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net