Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Includes statementIncludes statement
Previous
 
Next
New Post
2/27/2007 12:39 AM
 
Is it possible to embed other ASP application files within a DNN .aspx page file or DNN container by sing the <!includes --> statement as is done with Active Server Pages with SSI?
 
New Post
2/27/2007 10:07 AM
 
You can add ASP.NET User Controls, however there isn't an includes statement to include classic ASP items or anything like that.  

-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
2/27/2007 2:52 PM
 
webworkshop wrote
Is it possible to embed other ASP application files within a DNN .aspx page file or DNN container by sing the statement as is done with Active Server Pages with SSI?


I have not tried this within an aspx page (or DNN), but maybe you could do something similar to the below to pull the content from the page directly.  In my very old code sample below I pulled content from an aspx page into an ASP page.  I can't see why the reverse would not work.  The context is also preserved - in pulling the content from the aspx page it rendered the role-dependent content for the user. 

<script language=jscript>
    var objXMLHTTP = new ActiveXObject("Msxml2.XMLHTTP.3.0");
    objXMLHTTP.open("GET", "http://" + location.hostname +"url.aspx", false);
    objXMLHTTP.send();
    document.write(objXMLHTTP.responseText);
</script>
 
New Post
2/27/2007 3:12 PM
 

 

PageBlaster gives you this ability.  There is a built-in replacement tag that will allow you to do the equivalent of a server-side include.

If you are running PageBlaster then you can put [RE:LoadFile(includes/myinclude.htm)] anywhere in your page and the file will be pulled in.

Or by putting [RE:WebCapture(http://www.mysite.com/includes/myinclude.asp)]  you can even do a type of remote include or "screen scrape".

For an example, if you go to http://www.drf.com you can see a site that is not DotNetNuke.  Then if you click on the "Sports" menu item it will take you to http://drf.statfox.com which is a DotNetNuke site running on a different server and pulling in all the template/skin from the other site using the WebCapture method.

Get the Free PageBlaster and try it out if you are interested.


DotNetNuke Modules from Snapsis.com
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Includes statementIncludes statement


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out