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 6900349
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:32:05+00:00 2026-05-27T07:32:05+00:00

This question has probably been the most covered question in all of DotNetNuke’s lifetime

  • 0

This question has probably been the most covered question in all of DotNetNuke’s lifetime but I’m going to ask it here in StackOverflow because I need an answer, a really good one that doesn’t make me look the other way. Thanks in advance to all DNN experts.

I’ve researched many ways of making this work for me and i’ve seen Michael Washington’s solutions (Panels, MultiViews, …) and Will’s (Strohl) blog post on DotNetNuke’s personalization engine through setting SkinSrc which is useful, as well as reading through Default.aspx’s code which has given me more insight, however, i’m still faced with the problem that calling EditUrl()/NavigateUrl() brings me to a page with a single module in admin skin or a page with nothing respectively.

The specific version is DotNetNuke 6.0.1 (DNN). This Module has 4 other views in addition to the main view which I desire to navigate through sequentially. e.g.
Begin Checkout -> Collection of Delivery Details -> Confim Order

Have you found a solution?

I want to achieve
1) Module loads with other modules around. No module isolation
2) Views in a module that don’t Preload e.g. Page_Load in each view gets called when the Module loads up

Help!

  • 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-27T07:32:06+00:00Added an answer on May 27, 2026 at 7:32 am

    Assuming you are asking this as the module developer, the solution is to not use DNN’s mechanism for specifying a control. So, you can’t use EditUrl or specify the ControlKey in the NavigateURL call (which both generate “ctl=mycontrol” in the URL). Instead you need to have your module display your various controls based on the Query String parameters. So, you’ll generally have a control in your module who’s primary purpose is to dynamically load other controls based on the query string. So, for instance:

    1. You will start with your control that lists items. You’ll have a “Buy Now” button for each item. The hyperlink for each item can be generated by calling

    NavigateURL(TabID, "", "View=BeginCheckout", "itemid=" & id, "mid=" & mid)

    2.) On the page load of the handler control, it looks to see if anything is specified for the “View” Querystring parameter. If not it displays the listing control, if so, it displays the corresponding control.

        Dim controlPath As String
    Dim path as String = "~/DesktopModules/MyModule/Controls"
    Select Case Request("View")
        Case "BeginCheckout"
            ControlPath = path + "BeginCheckout.ascx"
        Case "DeliveryDetails"
            ControlPath = path + "DeliveryDetails.ascx"
        Case "ConfirmOrder"
            ControlPath = path + "ConfirmOrder.ascx"
        Case Else
            ControlPath = path + "ItemList.aspx"
    End Select
    
    If System.IO.File.Exists(Request.MapPath(controlPath)) Then
        placeholder.LoadControl(controlPath)
    Else
            Throw New Exception("Unable to load selected template. Please go into module settings and select a list and details template.")
    End If
    

    Most of the advanced modules for DNN do something along these lines so there’s plenty of sample code out there. I would guess some of the core modules do something similar. I adapted the code above from Efficon’s Articles module for DotNetNuke.

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

Sidebar

Related Questions

I know this question has probably been asked so many times here, but I
this question has probably been asked before, but i'm stuck and i've tried a
I realize this question has probably been asked numerous times, but I have not
probably this question has been asked in many forms before but still I think
This question has been asked before but i still don't understand it fully so
This question has been bugging me for a long time now but essentially I'm
This question has frequently been asked over stackoverflow.com but none of the answers work
This question has been asked in a C++ context but I'm curious about Java.
This question has probably been asked a dozen times on Stack Overflow (e.g. (
I feel like this question has probably been asked a thousand times already, so

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.