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  |  

ExactTarget - What's Your Score
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
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.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  How to get the ModuleId from another Module
Previous Previous
 
Next Next
New Post 11/27/2007 8:38 AM
Resolved
User is offline Eric Piraux
19 posts
10th Ranked


How to get the ModuleId from another Module 

Hi,

I want to allow the user to navigate from one of my module views to another view  in another module. This should be done using the Globals.NavigateURL(...), where the first arg is the ModuleID.

As the PortalSettings.ActiveTab.TabID gives the current ModuleID, how to get the ModuleID of another module ?

Thanks

E.

 
New Post 11/27/2007 9:54 AM
User is offline Sebastian Leupold
13620 posts
www.deutschnetnuke.de
1st Ranked












Re: How to get the ModuleId from another Module 

go to module and take it from Address bar of your browser. unfortunately, there is no selection control available atm.


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
New Post 11/27/2007 10:30 AM
User is offline Eric Piraux
19 posts
10th Ranked


Re: How to get the ModuleId from another Module 

hehe, the question is how to get the moduleId programmatically !

 
New Post 11/27/2007 11:31 AM
User is offline Pril
142 posts
9th Ranked


Re: How to get the ModuleId from another Module 
Modified By Pril  on 11/27/2007 3:32:32 PM)

Use:

DotNetNuke.Common.GetDesktopModuleByName("ModuleName").DesktopModuleID

or query database directly.

Kind regards,

Primoz

 
New Post 11/27/2007 12:13 PM
User is offline Eric Piraux
19 posts
10th Ranked


Re: How to get the ModuleId from another Module 

I've found the method in the following class:

new DotNetNuke.Entities.Modules.DesktopModuleController().GetDesktopModuleByName("ModuleName").DesktopModuleID

It returns the requested ModuleID

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  How to get the ModuleId from another Module
 


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.

 


AppTheory
Professional development for medium to large projects based on the DotNetNuke platform.
www.apptheory.com
OnyakTech
Modules for Help Desks, Live Chat, Project Management, CRM, Charting, Reporting, Scrolling Text/Images, Portal Community tools and much more.
www.OnyakTech.com
IHostASP.NET Provides the Ideal DNN Hosting
We will help you with the installation, configuration, and troubleshooting of your DNN portal, no task is too big or small for us. Unlike other companies we are not just providing a reliable hosting service, but we are also focused on providing the best DotNetNuke hosting service on the internet.
www.ihostasp.net

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