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  |  

$4.95 Windows Hosting at Webhost4life.com
  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Hyperlinks between modules
Previous Previous
 
Next Next
New Post 4/21/2006 4:25 AM
User is offline Andreia Oliveira
13 posts
10th Ranked


Hyperlinks between modules 

Good morning,

I managed already to make links between pages from the same module, passing more than one parameter.

Ex: hl.NavigateURL = this.EditUrl("Code", ((PlanosInfo)e.Item.DataItem).Code, "Edit", "Type", ((PlanosInfo)e.Item.DataItem).Type);

Now, I would like to understand the way to implement hyperlinks that could link one page to another module page.

As far as I understood, the edit in bold must be the name in the Key field of the edit module control page when defining page modules.

In order to link to pages in other modules, do I have to "register" these pages in the Module Definition?

Thanks in advance,

Andreia

 
New Post 4/21/2006 7:08 AM
User is offline Michael Flanakin
994 posts
www.michaelflanakin.com
7th Ranked




Re: Hyperlinks between modules 
I'm not 100% sure, but I think you might have to build this on your own. You'll need to know a few things to do this: the tab and module IDs, control key (if not the view control), and any other parameters required for the module's control. Assuming you have all this, which you'll probably want to derive from the database in conjunction with allowing an admin to select which module they want yours to link to, you can generate the URL pretty easily. Simply use a URL and specify the tabid, mid, and ctl parameters for the first three. Any additional parameters can be specified just as you normally would.

Michael Flanakin | Microsoft Consulting Services
www.michaelflanakin.com
 
New Post 4/21/2006 8:41 AM
User is offline Andreia Oliveira
13 posts
10th Ranked


Re: Hyperlinks between modules 

Thanks for your help.

Maybe I am not yet getting the full picture of DNN... I managed to perform this link without passing these parameters... maybe I am still not aware of the security / access... implications of doing it this way.

I performed the test I mentioned in my initial post:

Created a reference in the module definitions of my first module to a page that belongs to another module. Gave it the name. Named it "SetupLanguages".

Then, in the code behind of my first page edited the hyperlink in the same way I mentioned in my last post but passed the "SetupLanguages" in the controlKey parameter of the editUrl method.

Regards,

Andreia

 
New Post 4/21/2006 10:56 AM
User is offline Michael Flanakin
994 posts
www.michaelflanakin.com
7th Ranked




Re: Hyperlinks between modules 
Are you wanting to link to a completely separate module or just a different control within your module? Any background on what you're attempting to accomplish would help us provide the best solution.

Michael Flanakin | Microsoft Consulting Services
www.michaelflanakin.com
 
New Post 4/24/2006 8:43 AM
User is offline Andreia Oliveira
13 posts
10th Ranked


Re: Hyperlinks between modules 

Yes, that is right.

What I am trying to do is link pages from different modules.

The reason why I would like to do this is in order to avoid having several classes defined in my first module.

My first module will deal with one entity.

The second (and other additional modules) will deal with another entities that have strong relations with the first one.

 

 

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Hyperlinks between modules
 


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.

 


ExactTarget Email Marketing Software and Solutions
ExactTarget delivers on-demand email software solutions for permission-based email marketing. ExactTarget offers solutions that meet the needs of all industry verticals and all size organizations, including SMB, corporate divisions, not-for-profits, large retail/direct marketers, agencies and enterprises.
ExactTarget.com
Sunset Hill Solutions - Consulting and Development
We offer general DNN consulting services - including custom module development and commercial module integration/setup.
www.sunsethill.ca
MaximumASP
MaximumASP provides a wide array of web hosting plans to fit any hosting need. We also provide software and services needed to keep it running optimally.
MaximumASP.com

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