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.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Where is the PortalModuleBase source code?
Previous Previous
 
Next Next
New Post 6/14/2008 1:08 PM
User is offline Johan Van der Galien
9 posts
10th Ranked


Where is the PortalModuleBase source code? 
Dear Newsgroup Readers,
 
I wanted to know where the ModuleId value in the DotNetNuke.Modules.Survey.EditSurvey Page_Load event comes from. Well it can only come from the inherited class DotNetNuke.Entities.Modules.PortalModuleBase. But I did: Find in Files “Class PortalModuleBase” entire solution. But it is nowhere to be found. Then this functionality must come from a referenced DLL and it is not in the source code files as you get it from downloading DotNetNuke_04.08.02_Source.zip.
 
I want to learn as much as I can from the Survey Module and apply this knowledge to my own modules.
 
Is DotNetNuke only a partly open source project?
 
Kind regards,
 
Johan van der Galien.
 
New Post 6/14/2008 6:41 PM
User is offline cathal connolly
2546 posts
www.cathal.co.uk
5th Ranked










Re: Where is the PortalModuleBase source code? 

DotNetNuke is fully opensource, all of the code is within the source download.

ModuleID is in the file you're looking at. If you look about line 300 you'll see it's definition. It's readonly as it's only designed to expose an internal value. It's been marked as invisible to the designer for that reason.

<Browsable(False), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)> _
        Public ReadOnly Property ModuleId() As Integer
            Get
                If Not _moduleConfiguration Is Nothing Then
                    Return Convert.ToInt32(_moduleConfiguration.ModuleID)
                Else
                    Return Null.NullInteger
                End If
            End Get
        End Property

 
New Post 6/19/2008 12:38 PM
User is offline Kevin Goff
10 posts
10th Ranked


Re: Where is the PortalModuleBase source code? 

Perhaps you got enough from cathal's response, but here is where the file you are looking for is:

~\DotNetNuke_04.08.04_Source\Library\Components\Modules\PortalModuleBase.vb

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Where is the PortalModuleBase source code?
 


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.

 


DotNetNuke Modules, Skins, Training and Consulting
If you want DotNetNuke done right then look no further. Developed Solutions provides module development, skin design, user and developer training and consulting. Based in Adelaide, Australia, we offer our services worldwide.
www.developedsolutions.com.au
Venexus, Inc.
Need custom a custom DotNetNuke module? From module planning to deployment, including training and support, Venexus developers deliver end-to-end web solutions on time and on budget.
www.venexus.com
Bring2mind
Document Centric DNN Module Solutions
www.bring2mind.net

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