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.0DNN ApplicationsDNN Applications
Previous
 
Next
New Post
3/21/2007 8:55 PM
 
I am embarking on an application myself and have been trying to wrap my brain around how to do it in DNN.  I am still pretty new at .net in general, much less DNN, but I persist.  Having said that...
  • Is it possible to (easily) write a multi-page application in DNN?  Everything seems to want to be a module, but my impression is that a module is a self-contained piece of code existing on one page.  Is it possible to write multi-page apps without using modules?
  • I have read that it is preferred to develop using modules so that it posts back to itself, and the interface elements are made visible or hidden according to what has been selected.  Is this the best way to write "applications" in DNN?

Thanks, Terry

 
New Post
3/22/2007 3:04 AM
 

At its core, DNN is a PAGE based framework
 - each and every call to DNN revolve around a request to the default.aspx web page.

And what is displayed is controlled firstly by the SKIN associated with the site, then by the TABID passed to default.aspx - and finally by the Modules that are associated with that tabid - and arranged according to their placement on the SKIN.

SO as such - you extend the content of a DNN site by writing MODULES.

Having said that - what Im wondering - is what exactly you are trying to do - and what is the point of these Multi-Page apps you are referring to.

Westa

You see - the reason for using Modules - is because thats how you extend DNN   -  not because of some Idea of posting things back

Postback is not something that is a DNN thing - but instead Postback is all todo with how Asp.net works - and where it gets its power from.

Westa

 

 

 
New Post
3/22/2007 8:50 AM
 

I guess I just don't have a clear understanding because I'm used to how asp.net and others work.  Say I'm writing a module that sells tickets.  The first screen has a grid that shows what tickets are for sale.  The user selects an event...in asp.net, I might pass a parameter to the next page and use the parameter to show the kinds of tickets for sale for that event.  Then I would select the ticket I want and be taken to a page where I can fill out personal info and credit card info.  I'm just trying to understand how to do that same type of thing using modules.  Do I use multiple modules and pass parameters between them?  Or do I somehow use a single module? 

Terry

 
New Post
3/22/2007 1:05 PM
 

Terry - what you describe is one module

Basically a module can have one or more 'pages' (really ascx user controls) that is uses

Your first is the view control - this would list all the events

clicnk on an event and this would load the kind of ticket control -

you load these differnt views by using the EditURL or NavigateURL function to pass parameters to the module in the query string

Each control has an id like the view one (or default) is a blank or null id and the edit one is usually 'edit' but you can hanve more if you need as long as you keep the chain or display views clear for yourslef

you might take a look at the code for the text/html or links  moduel and how it is registered as a module in the module definitions for a good example  

 

Terry - if you want I can talk you through it on IM as well (dylan.barber@earthlink.net on MSN IM)


Dylan Barber http://www.braindice.com - Dotnetnuke development classes - skins and modules
 
New Post
3/22/2007 1:25 PM
 

Terry:

Take a look at Core Team member Michael Washington's tutorials at http://www.adefwebserver.com/dotnetnukehelp/.  They contain all the info you need to know for your project and a little more.

All this may sound complex at first (and it is actually) but the alternative to not using DNN is for you to write all the basic application framework plumbing yourself, which is not easy, prone to errors, and very time consuming.

Carlos

 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0DNN ApplicationsDNN Applications


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