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  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

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


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Module development with the “WAP” method.
Previous Previous
 
Next Next
New Post 6/25/2008 8:24 PM
Resolved
User is offline Nathan Rover
39 posts
www.websitemakers.com
10th Ranked


Module development with the “WAP” method. 

I have a question for my fellow DNN developers who are using the WAP method of module development. For the last two years I have been using the WSP method of module development. And it worked alright but to speed up packing of modules I switched to the WAP method. I’ve gotten everything to work but I have a “thorn in my side” problem. It seems that no matter what I do, I get this following error message when I try and use the dnn controls.

 

This line of code:

<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %>

will cause this error:

Error 1 File '~/controls/LabelControl.ascx' was not found.  C:\CompiledModules\Old\MyModule\MyModule\MyModule\Settings.ascx 2 51 MyModule

 

In the WSP method this would work fine and there would be no errors, and Intellisense would work. Despite the error, this module will compile and it will run fine. But on some of my larger forms, I get 1500+ page errors from missing dnn controls. It’s making it difficult to find the real errors, and without Intellisense it’s getting hard to catch typos. I understand why it’s causing an error; the label control is no longer in this project. Is there a way to reference the control so that this error goes away and my Intellisense comes back?

 

Thanks,

 

Nathan Rover

 
New Post 6/26/2008 7:35 AM
User is offline Ian Robinson
645 posts
www.engagesoftware.com
7th Ranked


Re: Module development with the “WAP” method. 

Hey Nathan,

What version of Visual Studio are you using? I generally see these Label control messages show up only when I've actively got the module control in question open (otherwise I don't see them at all).  Also, it certainly has never had any effect on my intellisense. Really what I mean to say is - this hasn't been as big of a deal for me when using VS 2005 or VS 2008 - so I suspect you may be using VS 2003?

Thanks,

Ian


Ian Robinson
Engage Software
St. Louis, MO
314.966.4000



The leading provider of DotNetNuke support, training and custom development.
 
New Post 6/26/2008 9:39 AM
User is offline Nathan Rover
39 posts
www.websitemakers.com
10th Ranked


Re: Module development with the “WAP” method. 

I’m using VS 2005. And you’re correct; the error goes away when the .ascx page is closed. My problem with it is that if there is a real error on the page and I have a few hundred of these errors it makes it difficult to find the real error. I might not have been clear about the intellisense, it works for everything but these controls so if I go to type <dnn:label ID=” etc… the intellisense doesn’t kick in like it would with non DNN controls.

 

Thanks,

 

Nathan Rover

 
New Post 6/27/2008 8:58 PM
Accepted Answer 
User is offline Nathan Rover
39 posts
www.websitemakers.com
10th Ranked


Re: Module development with the “WAP” method. 

Well, I’ve figured it out. It seems all I have to do is copy the controls folder from a stock DNN install to my module project and make sure I have a reference to the dotnetnuke.dll file. Then I exclude the files from building in my MS build scripts, I’m not sure if that last step was necessary. It seems easy now… can’t beat that feeling of no red “X’s” and no yellow “!”. Hopefully someone else will find this as helpful as I did.

 

Thanks,

 

Nathan Rover

 

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Module development with the “WAP” method.
 


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.

 


Cygnusoft Custom Software
Cygnusoft has been providing cutting-edge custom software solutions for 20 years. Cygnusoft is also a leading start-up incubator, helping our partners build successful new businesses.
www.cygnusoft.com
Digicon: DotNetNuke design and development
Digicon is based in Brisbane, Queensland, Australia
digicon.com.au
Live Visitor Tracking & Live Chat For DotNetNuke
Track your visitors in real time and add live chat for sales & support. Free Trial.
www.whoson.com

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