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.0Do WAP (PAs) and non-WAP (PAs) conflict?Do WAP (PAs) and non-WAP (PAs) conflict?
Previous
 
Next
New Post
5/24/2008 9:57 PM
 

Great tip.  Thanks very much.

Instead of trying to crack the "how to get a WAP module to reference a WSP module in the same installation"......I'll just use that wizard to convert everthing over to WSP and make sure the order in the App code section of the web.config is appropriate.  Thanks much!


I'm too poor for anything other than the community version
 
New Post
5/25/2008 8:22 AM
 

Mike, I see what you mean about the referencing in one WSP module to another WSP module and how it's all part of the same code base.  I can see how all the methods in the controller.vb are now available to all the modules.

One issue I'm having, however, concerns a "Public Shared Function" I have in WSP custom module A in the ViewModule.ascx.vb (not in the Controller) which I'm trying to call from my WSP custom module B.  I used to simply be able to call that function since it was exposed as a Public Shared function but now it's not taking for some reason.  Can I still call functions in this manner?


I'm too poor for anything other than the community version
 
New Post
5/25/2008 8:32 AM
 

Perhaps it's in a different namespace and you need to fully qualify the class your calling to include the namespace?



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
5/25/2008 9:17 AM
 

The Public Shared Function "AddTPP" is in the TeamPlayerBank.ascx.vb file inside the Namespace Ryno.DNN.Modules.TeamPlayerBank and inside of that is the "Public Partial Class TeamPlayerBank.

The call to the Public Shared Function is made in another custom module which Imports Ryno.DNN.Modules.TeamPlayerBank and Ryno.DNN.Modules.TeamPlayerBank.Business and Ryno.DNN.Modules.TeamPlayerBank.Data and the call to the Public Shared Function is attempted to be made with Ryno.DNN.Modules.TeamPlayerBank.AddTPP(arguments) but that's throwing an error saying, "AddTPP is not a member of...."


I'm too poor for anything other than the community version
 
New Post
5/25/2008 9:25 AM
 

I just moved the function over to the Controller.vb and now all is well.  Thanks for the continued help Mike.


I'm too poor for anything other than the community version
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Do WAP (PAs) and non-WAP (PAs) conflict?Do WAP (PAs) and non-WAP (PAs) conflict?


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