DotNetNuke Modules – Where Stuff Shows Up
We continue our series on creating DotNetNuke modules today by showing you where the various components of the module we created last week show up in DotNetNuke.
Remember, last Thursday, we registered the user controls that the DotNetNuke module wizard created for us but I told you not to run them yet because they would throw an error if we did. So, the first thing we need to do today is to clean up the code so that it will run. The wizard inserts code that you would use if you were going to create some kind of link manager. The main problem here is that the code they wrote assumes you already have the data access layer and the controller written. Since this tutorial is going to work from the top down, at the very least you need to comment out the code between the try and catch statements in the Page_Load method of the ViewDMBSample.ascx(.cs) files.
You can remove the other controls in the edit and settings module too. You’ll need to remove the references to them in the code-behind if you do.
When you run the code, you’ll notice that the main View module is what shows up when you add the module to a page, the settings module is what shows up in page settings, and the edit module is what displays when you select the “Add” menu option off the module menu.
Other post in DotNetNuke - Module Development
- Creating DotNetNuke Modules - May 20th, 2008
- Creating DNN Modules - The Tools - May 22nd, 2008
- DotNetNuke Modules - Foundational Concepts - May 26th, 2008
- DotNetNuke Modules - Install DNN into VS 2008 - May 27th, 2008
- DotNetNuke Modules - Creating Base Modules - May 28th, 2008
- DotNetNuke Modules - Registering Your Module - May 29th, 2008
- DotNetNuke Modules - Where Stuff Shows Up - June 3rd, 2008
- DotNetNuke Modules - Benefits of Architecture - June 4th, 2008
- DotNetNuke Modules - Anatomy of the View - June 9th, 2008
- DotNetNuke Modules - Adding Actions - June 11th, 2008
- DotNetNuke Modules - DNN Controls - Label - June 18th, 2008
- DotNetNuke - Internationalization - June 25th, 2008
- DotNetNuke Modules - Internationalization (part 2) - June 30th, 2008
- DotNetNuke Modules - Labels w/ no Help - July 9th, 2008
- DotNetNuke Modules - LinkButtons - July 14th, 2008
- DotNetNuke Modules - Collapsible Panels - July 16th, 2008
- DotNetNuke - The Data Layer - Installing CodeSmith - July 22nd, 2008
- DotNetNuke - Modules - Creating The Tables - July 24th, 2008
- DotNetNuke - Modules - Creating Stored Procs - July 29th, 2008
- DotNetNuke - Modules - Portal Specific Modules - July 31st, 2008
- DotNetNuke Modules - Data Access Layer - August 5th, 2008
- DotNetNuke Modules - Data Access Layer - August 7th, 2008
- DotNetNuke - Data Access Layer Alternative - August 12th, 2008
- DotNetNuke - Modules - Linking within the module - August 14th, 2008
- DotNetNuke - Make Your Module Searchable - August 19th, 2008
- DotNetNuke Modules - Making Content Portable - August 25th, 2008
- DotNetNuke Modules - Exceptions the DNN Way - September 2nd, 2008
- DotNetNuke Modules - PortalModuleBase - September 4th, 2008
- DotNetNuke Modules - Inter Module Communication - September 9th, 2008
- DotNetNuke Modules - Finding The Page a Module is On - September 15th, 2008
- DotNetNuke Modules - Caching - September 17th, 2008
- DotNetNuke Modules - Module Settings - September 22nd, 2008
- DotNetNuke Modules - Retrieving Settings - September 24th, 2008
- DotNetNuke Modules - Advanced Architecture - October 20th, 2008
- DotNetNuke Modules - Creating the PA - October 30th, 2008
- DotNetNuke Modules - Automating the PA - November 5th, 2008
- DotNetNuke - FileUploadControl Danger! - February 26th, 2009
- DotNetNuke SecurityException AspnetHostingPermission - October 14th, 2009
- Changing an Existing DNN Module - March 4th, 2010
Other Related Items:
Petsafe RFA-188 3-Volt Lithium Battery ModuleReplacement battery for Little Dog No Bark Collar model No. PBC00 10782. Easy to use coin slot for battery installation. Waterproof seal. On Off function built into the battery module by turning to appropriate settings.
Citiblocs Original Wooden Building Block Set - 200 PiecesOur most popular Citiblocs set, with 200 pieces, it gets builders of all ages excited about the possibilities! Toddlers to teenagers, Citiblocs encour... Read More >
AXIOM 20MB PC CardPC Card 20 MB AXCS-ASP-FLC20M www.axiommemory.com 5 Year PC Card Axiom Memory Solutions 20MB PC Card Axiom 1










[...] Where Modules Components Display [...]
[...] Where Modules Components Display [...]
Is there supposed to be a video available with this post?
There was going to be, but I don’t really see much need and the one I created ended up not being usable.
I was dying on this one. After completing these steps I could not add my control to a page.
The problem: I entered a value in the Key field when I defined the main view. A couple hours later I cleared the Key field and *bing* the control appeared!