Friday, November 21, 2008
Welcome!

Welcome to my little corner of the Internet!

Among other things, I'm exploring all that the DotNetNuke website framework has to offer.

You can email me at Larry@LarryDaniele.com.

My Other Sites

Here's a partial list of the web sites that I'm responsible for:

  • CompanionSoftware.com - My business site and the home of the Metafile Companion utility for editing Windows metafiles.
  • SunderlandPublicLibrary.org - A labor of love for the public library in this wonderful town of Sunderland, MA USA.
  • DebbieHennes.com - A site created for an artist friend. Sometimes, simple is good.
  • BurtCohen.com - Personal website of the professor, writer, political activist and former New Hampshire state senator Burt Cohen.

For more information, you can see my website development portfolio.

I would also encourage people interested in developing their own web site to look at DotNetNuke. It's what I'm using to create this site. Once it's set up, it's quite simple to add, edit and remove content over time.

I'm using the Minimalist skin created by Evan O'Neil for the overall style of this site. It is quite flexible and easy to work with.

Latest Blog Entries
Sep 7

Written by: Larry Daniele
9/7/2008 5:50 PM

On DNNStuff.com site, there's a great article (with source code) IMC Example (DotNetNuke Intermodule Communication) that demonstrates how to implement IModuleCommunicator and IModuleListener interfaces in DNN using two simple modules, one that sends text and one that receives it. It is great to have simple, working code to explain a concept like this. (Note: You'll have to register (for free) on the DNNStuff.com site before you can view the article.)
 
I would like to offer one suggestion for an improvement…
 
IMC works great unless you check "Supports Partial Rendering" (i.e. AJAX) for the sender and receiver controls. This is desirable to have one module update the other without the entire page refreshing.
 
A few simple changes to Receiver.ascx.vb (steps 1-3) and ImcExample.dnn (step 4) will enable AJAX rendering to work:
 
  1. Add a reference to System.Web.Extensions to the project.

  2. Add the line:

    Imports System.Web.UI

    near the top of the file.

  3. Add the lines:

    ' The IMC listener's parent UpdatePanel needs to be set to UpdatePanelUpdateMode.Always()
    ' (not the default UpdatePanelUpdateMode.Conditional() as is the DNN default) for the
    ' "Supports Partial Rendering" (AJAX) DNN option to work.
    ' The IMC sender can use the default setting and does not need this change.
    If TypeOf Me.Parent.Parent Is UpdatePanel Then
        CType(Me.Parent.Parent, UpdatePanel).UpdateMode = UpdatePanelUpdateMode.Always
    End If

    to the Page_Load() method.

  4. Add the line:

    true

    to each in the .dnn file to enable partial rendering on installation.

Tags:
A Random Walk
Minimize
Enjoy a few random photos from my gallery!
Laura, Libby, Joe and Dad (me)
01. Jarett, Sarah, Wally and Montana
14. The resort grounds
Blueberry Flowers and Future Berries
"Cows Outstanding in their Field"
More photos...
Privacy Statement  |  Terms Of Use
Copyright 2007-2008 by Larry Daniele