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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesProblem in module development by WAP & templateProblem in module development by WAP & template
Previous
 
Next
New Post
11/8/2010 3:33 AM
 
hello experts

please help me.I created a WAP from visual studio to develop module same way as written here - http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/2632/Using-and-Customizing-a-C-Module-Development-Template.aspx. i used chris template.

now to test the module i added the module to a page by clicking 'create new module' and then using manifest from module definition in my dnn site under localhost.is not it the right way to develop module by modifying the ascx pages in my WAP solution and to test the changes in my dnn site page?? now i added a button and added onclick="ss_Click" when button is clicked in my ascx page and in code behind file i added the method too.now when i go to my dnn site page to test the button click result i got errors - " DotNetNuke.Services.Exceptions.ModuleLoadException: c:\inetpub\dnnvbnew\DesktopModules\MyModule\View.ascx(5): error CS1061: 'ASP.desktopmodules_MyModule_view_ascx' does not contain a definition for 'ss_Click' and no extension method 'ss_Click' accepting a first argument of type 'ASP.desktopmodules_MyModule_view_ascx' could be found (are you missing a using directive or an assembly reference?).......more lines "

also when i reopen the project solution i got error - System.runtime.interopservices.comexception.

please help me how to develop module by WAP(i can create the WAP using template and add the module in dnn site but unable to do development) ?.
 
New Post
11/8/2010 1:15 PM
 
After you add the click event to your module, are you compiling the module? You'll need to do a BUILD in Visual Studio so that the DLL gets updated in the BIN directory of your website. As for the reopening the project error, I don't know why you would be getting that.

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
11/8/2010 2:02 PM
 
yes i got it after my post that every time i add event i have to build the project.still i get error when i reopen the project.but i found a solution - instead of creating a new project i add the module project to the existing dnn solution.

now when i package the module using nant i find that images folder in my module project is not included in the packages!.i know i have to change the .build file.but can't find where to change.tell me how? so that the images folder is included in both install plus source packages.
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesProblem in module development by WAP & templateProblem in module development by WAP & template


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