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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Adding my own .aspx forms and pagesAdding my own .aspx forms and pages
Previous
 
Next
New Post
8/17/2007 10:11 AM
 

I asked a long time ago about inserting my own .aspx pages into my DNN portals.  There is much I'd like to just simply add to a DNN portal page with stuff that I can do in Visual Studio 2005 using basic forms and such on a simple .aspx page.

However, I'm not sure how to add that into an exisitng page without using an IFRAME in my DNN installation(s).  I've learned to use the source portion of the TEXT/HTML module in order to put in my "own" HTML, but how can I do this with a standard set of .aspx pages?

Is my question clear, and is there a clear answer? 


Chad Voller -- MCP, DNN Aficionado
Leapwise Media
View my View Chad Voller's profile on LinkedIn
 
New Post
8/17/2007 8:03 PM
 

At its heart the DNN framework is based on a single default.aspx. To get all the features of DNN to work your site has to call this page EVERY time a request is made by a visitor to the site.

And since you can only have one aspx call per HTML request without a whole lot of messing.
The result is the ONLY way you can easily make use of custom .aspx pages inside DNN is for those .aspx pages to be wrapped in an IFRAME.  
Since if you just link to your own aspx file - then you are operating outside the DNN framework - and all the DNN features disappear.

The way that DNN gets around this sort of HTML restriction is to make use of ascx CONTROLS - of which you can put as many as you want ona page.
As you already indicate that you know a bit about coding aspx - then you should look at going down this path.

Westa

 
New Post
8/20/2007 9:43 AM
 

Chad,

As mentioned above if you want to have the content embedded within your DNN installation then you will need to actually build the content as a DNN module.  (.ascx control).

The good news is that it is VERY simple to do!  Honestly it is all almost the same, there is just a bit of packaging differences.  Have a look at Michael Washington's tutorials on http://dotnetnuke.adefwebserver.com they should get you going!


-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
8/20/2007 11:44 AM
 

thanks to both of you for pointing me in this direction.  i will look at the recommended post from Mitchel and get going!

- Chad


Chad Voller -- MCP, DNN Aficionado
Leapwise Media
View my View Chad Voller's profile on LinkedIn
 
New Post
8/20/2007 1:18 PM
 

Hmm, 

I have an .aspx page in a virtual directory that I wish to connect to DNN, but have run outside the DNN interface.  Basically, the page is too wide to fit in the DNN site.

I was figuring on adding the DNN assemblies to the references of my project, and then just hacking around to get the authentication done and then get the profile info.

Now is this too ridiculous to even contemplate?  Hasn't someone else done this?

Thanks!

 

 

 

 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Adding my own .aspx forms and pagesAdding my own .aspx forms and pages


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