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

HomeHomeDevelopment and...Development and...Getting StartedGetting StartedMultiple views for one moduleMultiple views for one module
Previous
 
Next
New Post
2/3/2012 4:30 AM
 

Thanks cathal, I begin to see where this is going...

Can somebody answer about my "related data" question ?

I really want to start this project with the good architecture, so to handle big projects with many entities do you recommend doing a shared dll with all the datalayer and multiple modules for each entities/functionalities ?

 Thanks

 
New Post
2/3/2012 1:16 PM
 
I recommend reading the "beginning module devlopement" series at http://www.dotnetnuke.com/Resources/Wiki/Page/Module-Development.aspx , that will show you how to design a module using best practices

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
2/6/2012 12:24 PM
 
cathal connolly wrote:
hello, you don't hardcode the paths, instead generate them e.g. add an asp.net hyperlink and set it's navigateurl property to the value of the control and pass any additional parameters e.g. NavigateURL(portalSettings."yourcustom control", "", string.Format("clientId={0}", clientId));

 Hi again,

Thanks for the help, it's greatly appreciated, one more question though:

If I want to navigate from one module to another, I need to use NavigateUrl using the controlkey of the other control in my other module, but the View control doesn't have any controlkey, how do I manage that ?

 
New Post
2/7/2012 5:20 PM
 
the view control has no controlkey and is found by determining the page and module on the page (i.e. it uses that to look up the TabModule instance) - as such you just need a simple Response.Redirect(Globals.NavigateURL(), true) to get it. Similarly as modules have 1 edit control you can use the shorthand of Response.Redirect(EditUrl()) - the wiki covers the common navigation rules at http://www.dotnetnuke.com/Resources/Wiki/Page/Module-navigation.aspx

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
2/9/2012 9:51 AM
 
cathal connolly wrote:
the view control has no controlkey and is found by determining the page and module on the page (i.e. it uses that to look up the TabModule instance) - as such you just need a simple Response.Redirect(Globals.NavigateURL(), true) to get it. Similarly as modules have 1 edit control you can use the shorthand of Response.Redirect(EditUrl()) - the wiki covers the common navigation rules at http://www.dotnetnuke.com/Resources/Wiki/Page/Module-navigation.aspx

 I'm sorry but I don't get it, Response.Redirect(Globals.NavigateURL(), true) will redirect me on the view control of my module, but how do I redirect to the view control of another module ?

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Getting StartedGetting StartedMultiple views for one moduleMultiple views for one 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