Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3213166
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T14:54:50+00:00 2026-05-17T14:54:50+00:00

I have created a custom DNN module with 2 .ascx files that I have

  • 0

I have created a custom DNN module with 2 .ascx files that I have installed successfully to an existing DNN website. But when I add the custom-created module to a page, nothing happens. Also in the module definitions page, my module is shown as “not in use”.

Any idea what is happening? I have checked the log viewer, there are no entries that are related to my module.

Additional Info: Visual Studio 2008, .net 3.5, dnn version 05.01.04

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T14:54:50+00:00Added an answer on May 17, 2026 at 2:54 pm

    Your problem is most likely in the module definitions for the module. You must have one of the controls listed as a control type of ‘view’.

    In general, to display a usercontrol specifically (and no other modules on the page), you request under the Url format of:
    example.com/pagename/tabid/xx/ctl/ctlkey/mid/yyy/default.aspx

    Where:
    xx is the tabid
    yy is the module id
    ctlkey is the key of the control as configured in the module control definition.

    Each DNN module has a type of ‘view’ which means the /ctl/ctlkey/mid/yyy does not need to be included in the Url – so a standard url of example.com/pagename/tabid/xx/defualt.aspx will show all modules on the page, specifically the controls that have a type of ‘view’. Because of this, the ‘view’ type doesn’t have an associated key.

    So, to solve your problem, go to your module definitions page, click on the module, then check you have a ‘view’ type control listed, and that the view type points to an actual module control.

    Finally, don’t forget it might be working OK but your module isn’t actually producing any valid Html. This can be checked by putting a breakpoint in the page load for the control and seeing if it gets triggered.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a custom module that creates a custom Database table. I have
I have created custom posts and I want one page in my site to
I have created a custom post type named People. I have created a page
I have created a custom method that will return unique items, together with the
I have created a custom control but I can't bind a property to the
I have created a custom attribute that I am using on my class MyClass
I have created a custom AppleScript that works, and placed it in the folder:
I have created a custom validation rule (uniqueUserName). The problem I'm having is that
I have created custom workflow and successfully deployed it on Alfresco. I just copied
Have created a custom navigation menu in wordpress that has some pages and some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.