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.0Can this be done in DNN?Can this be done in DNN?
Previous
 
Next
New Post
2/4/2009 8:58 PM
 

Hello everyone,

Since I had such good luck solving my last problem with the experts on this forum, I would like to ask if this is possible.

I want to use a links module in the left pane.  When a link is pressed, is it possible to load a page in the center content pane?

Each link is to a different page.  These pages all update a database so they will probably need to be modules.

I dont want the page to refresh, only the center content pane?

Is this possible?  any ideas of where I can look for examples like this, so I can see how they coded it?

 

Thanks!!

 
New Post
2/5/2009 8:53 AM
 

Hi,

I do not fully understand why you would like this kind of behaviour?

Normally you change content by another page through the querystring. So with a postback to a new url.

Your wish can be programmed by using Inter module communication and/or Partial loading with AJAX. But that is quite complex for a simple left menu and content pane.

J. 

 
New Post
2/5/2009 1:58 PM
 

You know maybe this is going out of the scope of your question but what if your links on the left used javascript (jQuery) to modify the content in a text/html module in your content page?  Obviously you'd have to be able to get the jQuery script on the page and have your content loaded in a repository somewhere (folder on your portal) but it is totally doable.  I have done something kind of along those lines (at least dynamically loading content from a click) using jQuery on a client website.  I'll note that their site is still under construction as the client is getting material to me, but you can see a sample in the least.  Go to http://www.adventdvr.com/Product/tabid/57/Default.aspx and scroll down to the components section.  Click on any one of those and see how I use jQuery to load in an HTML snippet file into a "popup" window (using the cluetip plugin for this).

As for getting the script onto the page I have written (but not finished some features so it isn't on the market yet) a module to inject script onto the page.  Another developer has one as well -- GumboSoft -- to do the same thing.

As for the rest of your comments... well... obviously my approach doesn't work with a module or anything like that and they won't necessarily be updating the database unless you exposed functionality through a webservice or something but by the time you got that far you might as well have written your own module to handle all of it, you know?


-- Jon Seeley
DotNetNuke Modules
Custom DotNetNuke and .NET Development
http://www.seeleyware.com
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Can this be done in DNN?Can this be done in DNN?


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