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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0switching between several different user controlsswitching between several different user controls
Previous
 
Next
New Post
10/6/2006 9:30 PM
 

I am working on a module that needs to have several different "view" pages as part of a workflow process.  I assume that this is possible. What is the best way to accomplish this? The user will be leaving the module to complete part of the task and then returning to the module.

Any suggestions or code examples would be appreciated.

Joel Reinford
Data Management Solutions LLC

 

 

 
New Post
10/7/2006 6:59 AM
 

Check out Michael Washingtons blog on "NavigateURL: How to make A DotNetNuke® link"

http://www.dotnetnuke.com/Community/BlogsDotNetNuke/tabid/825/EntryID/1117/Default.aspx

 
New Post
10/7/2006 9:22 AM
 

a normal module have several views.

what are you trying to do. i dont get the message

you can call any (control)view via the moduleId, and Control Key.


chipset Arowolo
 
New Post
10/7/2006 12:05 PM
 
Jovball:

I find myself in the same position as you trying to figure out how to use multiple interfaces for the view page. There are different ways to do this I have found, with varying levels of complexity. One idea if your forms are not too complex is to use multiple panels and show them according to your parameters, I think that the Survey module does this. Also, there is the NavigateURL functionality that is supposed to do just what you want, but it is not properly documented and the examples are vague. I have been having problems implementing NavigateURL and when I went to trace the code I noticed that execution while debugging is not stopping on my breakpoints (that’s another issue). There is still one more way to do this that I have seen posts about, it is by using the placeholder control on the main form, which you can then programmatically populate according to your needs. But again, I have not found very good WORKING examples of this.

I think that the Core Team or one of the more advanced module developers out there should document this type of functionality as this issue is addressed a lot and the answers are not very concrete every time. I will share my findings as I learn more about this, please do the same.

Carlos

 
New Post
10/7/2006 5:18 PM
 

This thread gives some good advise and code sample on how a module may use LoadControl to dynamically change its view without the annoying (IMHO, at least) normal behavior of automatically switching to an admin skin for view controls having other than a blank key.

I found that I was using this method so often that as part of my extension of PortalModuleBase and several associated classes, I have defined a framework for loading and manipulating multiple views into a placeholder in the parent module. The parent module usually handles all module security, data access, etc. while the child view controls handle the visual presentation of data in various forms. For example one view might present data in a many column datagrid; another in a one column list; and another in a more free-form layout. By saving initial value of the "ViewKey" in TabModuleSettings, the same module may be placed on various pages of your site to present vastly different views of the same or subsets of the same data.


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
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0switching between several different user controlsswitching between several different user controls


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