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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Panes disappear when multiple ASCX pages make up a DNN ModulePanes disappear when multiple ASCX pages make up a DNN Module
Previous
 
Next
New Post
11/19/2009 7:06 PM
 

I never seem to be able to successfully search through these forums (a timeout always occurs) so not sure what I'm doing wrong there, so sorry if this is a really obvious question. Am currently using DNN framework 4.9.5

I work for a software company and we build our own DNN modules. When those modules use multiple ASCX pages though, and I log in as Host or Admin, typically on the subsequent pages I lose the ability to add further modules to the page, such as a Text / HTML module, as control over the panes seem to disappear. For example, we have built a DNN module that allows online customers to a site to book on a Tour that might run daily at 10am. There are several steps involved in booking the tour, and therefore our Tour Module has 6 different ASCX pages within the module. If I go to any of the pages other than the initial one, I can no longer directly access the Content Pane, and therefore cannot add in a TEXT / HTML module to the top of the SearchResult.ascx page.

Ultimately what I want to be able to do is add a TEXT / HTML component to the top of the Content Pane, on any or all of the ascx pages contained within the module. Is this doable? The centent within that Text / HTML page might be different depending on what step the user is at in the Tour booking process and needs to be customized per site, meaning our Tour module is purchased by several clients, and nobody ever wants the same wording to appear

 

 
New Post
11/20/2009 12:00 AM
 

The standard DNN behavior is to switch to the admin skin and isolate the module on the page when displaying any of the module's .ascx user controls except the default control (that is, the one having an empty control key).

Rather than following the standard behavior, your module design could make use of any of the following techniques:

1. Use the ASP.Net wizard control or multiple panel controls in the one and only default view control, etc. to display/hide the appropriate step. This approach is probably the easiest from the standpoint of persisting data from step to step but can result in a large page load/view_state.


2. Dynamically load the usercontrol appropriate for the step into the default view control. I personally prefer this approach as it keeps the page load/view_state smaller and coding cleaner but does require values from each step to be persisted or passed on to the next step.

3. Client side wizard steps - AJAX, Silverlight, etc.


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
11/20/2009 10:06 AM
 

Bill's response would be the way to go.  But to acheive your other desired resut. (text changing a top of each step) you would either have to build that into the module itself. (could be defined in the module settings.  Step1Text, Step2Text etc) or you would have to create a separate module and use inter module communication.  I'd recommend just adding it to your module.  Much easier to control and distribute. (instead of 2 modules)

 
New Post
11/22/2009 8:13 PM
 

Thanks guys, I'll discuss those options with my web development team and see what we can come up with, and update this thread

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Panes disappear when multiple ASCX pages make up a DNN ModulePanes disappear when multiple ASCX pages make up a DNN Module


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