Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0using different modules and communicate between themusing different modules and communicate between them
Previous
 
Next
New Post
5/12/2006 12:56 PM
 
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 3:07 PM
 
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 10:37 AM
 
how to do it please ?
 
New Post
5/23/2006 12:41 PM
 

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.

 


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0using different modules and communicate between themusing different modules and communicate between them


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out