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.0C# Compiled Module Starter Kit - ReleasedC# Compiled Module Starter Kit - Released
Previous
 
Next
New Post
2/6/2007 11:42 AM
 
Hey Mark,

I have successfully added and built a compiled module using your template into a 4.4.1 source install.

On the *Important* page of the template it says to "double click on the My Project" folder - this doesn't exist for me, assume you mean right-click project and select properties

From the application tab I select the Default Namespace textbox and clear the contents but upon trying to apply or save it tells me "The entered value for the property "Default Namespace" is invalid"

In any case I can build the solution OK, I would have thought that the only impact the default namespace would have is when creating new class files etc, and in any case you should probably change this to something more relevant to you project anways.

Otherwise, thanks for the good work, I'll post any more comments/questions as I use it a bit more.

PS - VS2005Pro + SP1
 
New Post
2/9/2007 12:53 PM
 

Kickinhard,

You need to have WAP (web application projects extension) installed for this.  Alternatively, I believe VS2k5 SP1 has this included as well.


-- Jon Seeley
DotNetNuke Modules
Custom DotNetNuke and .NET Development
http://www.seeleyware.com
 
New Post
2/11/2007 6:24 AM
 
I finally got it to work (sp1 update) but yet again I come across some problems:
 
  1. Currently we use the duallistcontrol from dnn in our project. (Which of course cannot be found? Trying to make a compiled module)
  2. We use allot of teleric components so in the code we have things like this “RadControlsDir="~/controls/RadControls/" (which of course also cannot be found)
  3. We also cannot clear Default Namespace from within the properties.
  4. Why must the Default namespace be null? (Because in every class we have at the moment we use a Default Namespace).
 What kind of approach could we use to fix all of this?
 
Thanks in advance
 
New Post
2/11/2007 2:54 PM
 

#3 isn't an issue... I don't know why his instructions ask you to do that, but frankly, don't.  I let it use whatever I want, like "MyCompany.Modules.Booyah";

With both #1 and #2, I had similar problems (it claimed it couldn't find the control), but when I went to debug and/or run it for real, it all came together and worked ok.


-- Jon Seeley
DotNetNuke Modules
Custom DotNetNuke and .NET Development
http://www.seeleyware.com
 
New Post
2/12/2007 10:19 AM
 
kickinhard wrote
I finally got it to work (sp1 update) but yet again I come across some problems:
 
  1. Currently we use the duallistcontrol from dnn in our project. (Which of course cannot be found? Trying to make a compiled module)
  2. We use allot of teleric components so in the code we have things like this “RadControlsDir="~/controls/RadControls/" (which of course also cannot be found)
  3. We also cannot clear Default Namespace from within the properties.
  4. Why must the Default namespace be null? (Because in every class we have at the moment we use a Default Namespace).
 What kind of approach could we use to fix all of this?
 
Thanks in advance


Hi

Ok, in design view when looking at your module you won't be able to see the control since the path will be something like ~control/dnnlabel.ascx.
This folder doesn't exist in the project at this module level. However you will be able to compile and run without issue. This is more todo with how VS design mode works.
More importantly you will be able to call methods/properties on the controls in your code since you have a reference to the DotNetNuke.dll assembly which contains the code behind class for the controls.


If you are using other components you'll have to make sure their assembies are added as references in your module. I.e the teleric controls.


The default namespace thing doesn't matter too much, you could just leave as is. Here is the snippet from MSDN which explains this setting.

Specifies the base namespace for all files in the project. For example, if you set the root namespace to Project1 and you have a Class1 outside of any namespace in your code, its namespace would be Project1.Class1. If you have a Class2 within a namespace Order in code, its namespace would be Project1.Order.Class2.

It is also possible to clear the root namespace property, which allows you to manually specify the namespace structure of your project.

Regards
Mark

Visit www.bitethebullet.co.uk for more free DNN modules and tutorials
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0C# Compiled Module Starter Kit - ReleasedC# Compiled Module Starter Kit - Released


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