Joris
Thu Jun 15 06:20:54 CDT 2006
eli.ripoll@verizon.net wrote:
> hi Guys I was trying to use the source editor portion of the CWE to
> insert an html page or file. is this possible with the content web
> editor web part, also i do know about the page viewer but
> unfortunately it doesnt do what is needed. Please help me out on this
> one thanks in advance..
The Content Editor does not support serverside includes, however you may be
able to recreate the effect of including a file by using one of the
following methods
1) Create an Iframe and link to the content
<iframe width="100%" height="400" src="/DocLib/include.ext"></iframe>
2) Create an Object that loads the content
<OBJECT width=100% height=400 id=myInclude type=text/x-scriptlet
VIEWASTEXT>
<PARAM NAME="URL" VALUE="AddNewItemBox.htm">
<PARAM NAME="Scrollbar" VALUE="0">
</OBJECT>
3) Use JavaScript and XmlHttp to load your data
4)Create a UserControl to output your content using Server.Execute and load
it using SmartPart
http://www.smartpart.info
(haven't tested this option yet)