Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Ads  
 


  Sponsors  

Meet Our Sponsors

Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  how to execute an .aspx page developed by myself in DNN
Previous Previous
 
Next Next
New Post 10/3/2006 1:30 AM
User is offline leal ting
5 posts
10th Ranked


how to execute an .aspx page developed by myself in DNN 

can i add a new aspx file to DNN?

i added someone, but when browsing it, the DNN redirect the request to the default page of the portal.

how to deal with it?

could y help me?

 

 
New Post 10/4/2006 6:02 AM
User is offline Bobby Pack
120 posts
www.ezDNNModules.com
9th Ranked


Re: how to execute an .aspx page developed by myself in DNN 

You might want to investigate turning it into a DNN module, that being the normal way to extend DNN.

Take a look at the IFrame module it might work for you


Bobby Pack
ezDNNReports
 
New Post 10/5/2006 12:20 PM
User is offline OCGuy
37 posts
10th Ranked


Re: how to execute an .aspx page developed by myself in DNN 

If you haven't already, get the DNN development templates on DNN Jungle and incorporate them into your Visual Studio.

Then, when you add a new project use the template to build all the files in the project directory.  Then when you build your page as a module, just inherit DNN resources.

You can then call all the DNN functions, including navigateURL().  It has several variations that allow you to call other modules, etc.


Bob Stordeur
OneConnection Business Solutons
 
New Post 10/5/2006 12:28 PM
User is offline IT Guru 1998
175 posts
www.pdmlogin.com
9th Ranked


Re: how to execute an .aspx page developed by myself in DNN 

I dont quite understand your question but if this is a static .aspx page,  just place it in the web folder and it should work no problem.  You must also specify the full absolute reference to other pages from this static .aspx page also.  The other option would be to create a new page in DNN and in settings set it to link to other pages on this site.

 

-Mark

 
New Post 10/5/2006 1:06 PM
User is offline Peter Barclay
71 posts
10th Ranked


Re: how to execute an .aspx page developed by myself in DNN 

The thing is, if you're trying to integrate the application or page into DNN you basically need to make it into a module. I'm going through the same stuff myself. The process to do it, is kind of straight forward but does get you into many issues depending on what you're trying to do. For me I'm actually replacing an existing auth system so I'm going through hell. This is the basic steps you can follow to get started.

Start opening your installed DNN Solution with VS
Add your project to the DNN Solution
Open the BuildSupport Project in DNN and add a reference to your project
rt-clck the solution and open the configuration manager and uncheck all of the projects except buildsupport and yours
Add your aspx, aspx.cs and aspx.cs.resx files to your projecct (assuming you're using C#)
Then rename your aspx file to ascx (the others will change automatically)
Now, for the main changes.....

Open the ascx file and only keep what is in between your <form> and </form> lines. Just delete everything else.
Recreate your code line with:

<%@ Control language="c#" Codebehind="AllBundleList.ascx.cs" AutoEventWireup="false" Inherits="TangentApps.MessageManager.bundle.AllBundleList" %><%@ Control language="c#" Codebehind="pagename.ascx.cs" AutoEventWireup="false" Inherits="fullclassname" %>

where pagename is the name of the code behind page and the full class name is yours. My line looks like this

<%@ Control language="c#" Codebehind="AllBundleList.ascx.cs" AutoEventWireup="false" Inherits="TangentApps.MessageManager.bundle.AllBundleList" %>

Now open the ascx.cs file and put in your code. Add the DNN things like

using DotNetNuke;
using DotNetNuke.Common;
using
DotNetNuke.Common.Utilities;
using DotNetNuke.Entities;
using DotNetNuke.Entities.Users;
using DotNetNuke.Entities.Modules;
using DotNetNuke.Services.Localization;
using DotNetNuke.Services.Exceptions;

and your public class line to have

: DotNetNuke.Entities.Modules.PortalModuleBase

 

There are other things to be done based on what you've got but that will get you pretty far. You can also go to DNN Jungle and install their templates for VS. Extremely helpful site because they also have walk throughs for integrating.

Once you've got it there at it builds with no errors then login to your DNN go to the Modules page and add your module and control to the list. Use one of the existing ones as an example for how it should look. Hope this helps. If not spend lots of time on the DNNjungle site. http://dnnjungle.vmasanas.net/

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  how to execute an .aspx page developed by myself in DNN
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


$7.16/mo - Powerful DotNetNuke / DNN Hosting
Powerful DotNetNuke / DNN Hosting on Windows 2008 and 2003 servers, starting at under $8/mo with FREE SQL 2008 on certain plans and FREE SQL 2005 on all plans with FREE Installation and expert support.
www.re-invent.com
ASP.NET Web Hosting for $3.95
3 Month FREE ASP.NET Hosting! FREE Setup! DNN Support! FREE Domain Name! FREE Components! Host multiple websites on 1 plan! 30 Days Money Back Guarantee!
www.dailyrazor.com
Cestus Websites
DotNetNuke websites en services in Nederland. Cestus Websites levert websites, projectmanagent, skins, modules, training en gespecialiseerde hosting op basis van het CMS DotNetNuke.
www.dotnetnuke-websites.nl

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP