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.0Mullti-Page ModuleMullti-Page Module
Previous
 
Next
New Post
4/4/2008 9:47 AM
 

Here's seeking best practices advice by a completely green dotnetnukie... You can, however, assume a reasonable amount of experience with ASP .NET 2.0 on my part.  I want to create a multi-page .NET web application (a WAP, not a website) such that each screen is part of a navigational sequence that comprises a single application "state," and some of the screens are interrelated (e.g. an interactive, online examination).  I'd like to do this in a way that

  1. Maximizes/Adopts all the features that the DNN framework provides to support such a task,
  2. Gives me a maintainable codebase for the application (i.e. not have HUGE ascx or code behind files)
  3. Makes deployment of the application simple

To this end, (3) suggests that I implement the application in a single module... However, I've not been able to find a definitive answer to this problem. 

I've seen one idea involving a "dispatcher" that dynamically loads modules (not controls)  - article is at http://www.wwwcoder.com/Directory/tabid/68/type/art/site/2050/parentid/224/Default.aspx  - though this unfortunately uses DNN 1.0.10 and I'm not sure how to map the code to more recent versions of the framework. 

Another excellent set of suggestions were given in an article referenced by Michael Washington in another thread (http://www.adefwebserver.com/DotNetNukeHELP/Misc/ModuleNavigationOptions.htm#Multiple_View_Control_Definitions); I like all of the ideas in this article, particularly the MultiView, though my concern is the size of the user control code (ascx and codebehind), and I'm not sure if splitting the codebehind across multiple partial-class files would work well since I've never experimented with that before in the .NET 2.0 WAP framework.  I don't want to deal with the complexities of dynamically loaded controls, and the other two options don't really suit the nature of the application I want to write.

Any help is welcome and appreciated!  - Regards.

 

 
New Post
4/4/2008 11:38 AM
 

I find that I use the Multiview a lot. The reason is that I have a lot of situations where I want to show a GridView of data and when they select a record I want to show the details AND I want them to drill down and show associated records.

You can do this using NavigateURL: How to make a link (VB &C#) but you then find yourself duplicating a lot of code on each page. The MultiView is simply faster. I sometimes end up with a ton of code on the page but the performance for the end user is the same.

In a recent project I have a TreeView on the left hand side of the screen and you can drill down into the records on the right hand side of the screen. There are 6 different possible views. However while you're drilling down on the right hand side of the screen the TreeView on the left hand side of the screen stays exactly the same. If you had a bunch of nodes open they don't move.

Without Multiview I don't know how this could have been done. With MultiView one part of the screen can go into "wizard step-by-step" mode while the rest of the screen stays right where the user left it. If they were paging a GridView it would stay on the last page even while they navigated the "wizard" part.



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
4/4/2008 12:00 PM
 

Thanks for the suggestion Michael; I guess I'll just bite the bullet and give it a try despite the amount of aspx and code-behind that it will generate...

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Mullti-Page ModuleMullti-Page 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