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

Other Related Items:

Petsafe RFA-188 3-Volt Lithium Battery ModulePetsafe 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 PiecesCitiblocs 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 CardAXIOM 20MB PC CardPC Card 20 MB AXCS-ASP-FLC20M www.axiommemory.com 5 Year PC Card Axiom Memory Solutions 20MB PC Card Axiom 1

Related Post

5 Responses to “DotNetNuke Modules – Where Stuff Shows Up”

DotNetNuke Sponsor

 

Most Valuable Blogger
Sponsor