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  |  

Maximum ASP
  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

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


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  using different modules and communicate between them
Previous Previous
 
Next Next
New Post 5/12/2006 10:56 AM
User is offline Sérgio Almeida
16 posts
10th Ranked


using different modules and communicate between them 
Greetings

i'm developing modules on DNN4 and I need to communicate between them, but I have a problem. I have a module named Student and a module named Contacts (of the student, and others users in the system), and I need to view and edit the contacts of a student.

On module definitions of the Students module I've added a control to the View page of the Contacts, with the control key as ViewStudentContacts.

On the Edit Page of module Students I've created a hyperlink that when clicked goes to the ViewStudentContacts control, to view the contacts of that student (the code: myhl.NavigateUrl = this.EditUrl("ViewMaterialAtribuido");). This seems to work, as I see the contacts that are on DB. The problem occurs when I want to edit a contact. When I click on the pencil, I go to a edit page but one that edits a student!!! My identifiers are named oid instead of ItemId, so when I click the pencil of a contact that has a oid eg 6, I edit the student that has the oid 6! And what I want is to go to the edit page of Contacts module and edit the wanted record!

One thing I've noticed is that the TabID is the same, in this process. I believe must change the TabID when I click for view the contacts. Is there any way to do this that is not by register controls and use the EditUrl method?

Any help is appreciated ::)

TIA

Almeida


 
New Post 5/19/2006 1:07 PM
User is offline Michael Flanakin
994 posts
www.michaelflanakin.com
7th Ranked




Re: using different modules and communicate between them 
You need to register the contact editing control as part of the Student module. Then, use the control key for it in the Student Contacts edit link. I believe this is what you're going for.  

Michael Flanakin | Microsoft Consulting Services
www.michaelflanakin.com
 
New Post 5/23/2006 8:37 AM
User is offline NGV Christophe
4 posts
10th Ranked


Re: using different modules and communicate between them 
how to do it please ?
 
New Post 5/23/2006 10:41 AM
User is offline Sebastian Leupold
15225 posts
www.deutschnetnuke.de
1st Ranked












Re: using different modules and communicate between them 

there are two options for your approach:

  1. Using URL, but in this case you need to force the detail view redering in the place of the list view module, and the second module needs to read detail ID from first module (you should rely on moduleID, not on tabID)
  2. using IMC, do a Search in the DotNetNuke forums at www.asp.Net, if I remember correctly, this has been discussed over there in detail.

 


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  using different modules and communicate between them
 


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.

 


Active Modules, Inc.
Creators of Active Forums, the best forum module for DotNetNuke
www.activemodules.com
DotNetNuke Marketplace - Modules & Skins
The DotNetNuke Marketplace is the official e-commerce gateway for the DNN ecosystem. It's the place to buy and sell DotNetNuke modules, DotNetNuke skins, and other DNN offerings.
DotNetNuke Marketplace
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

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