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.0Module Settings not retrievedModule Settings not retrieved
Previous
 
Next
New Post
6/24/2008 9:33 PM
 

What value do you find in lblUnitInfo.Text when you do the following in Page_Load of ViewModule.ascx.vb ?

'Note: comment out or remove your line Dim settings As Hashtable . . . since it would hide the property Settings inherited from PortalModuleBase in your ViewModule.

If Not Page.IsPostBack Then
     If Settings("page_info") Is Nothing Then
           lblUnitInfo.Text = ""
     Else
           lblUnitInfo.Text = CType(Settings("page_info"), String)
     End If
End If

Also, please verify that TabModuleId has the value of 100 within the Page_Load handler of ViewModule.ascx.vb.


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
6/24/2008 11:31 PM
 

Thanks Bill.  The code above assigns lblUnitInfo.Text the value of "" because it thinks it is Nothing.

I don't understand what you mean by "TabModuleId has the value of 100 within the Page_Load handler of ViewModule.ascx.vb" but I can see in the TabModuleSettings table that the value for TabModuleID for "page_info" is 100 like the other settings for this module (which are accessible).

I can send you the PA of this module if you'd like to see the whole thing in its entirety.  It's a pretty simple module.  Just email me at lil*ryno@aol.com (without the asterisk) and I'll send it to you if you're interested.  Thanks for your time.


I'm too poor for anything other than the community version
 
New Post
6/25/2008 7:06 AM
 

This is really strange. Regarding the property TabModuleId, can you set a breakpoint within the Page_Load handler and inspect the value of TabModuleId? It should equal 100.

If the module is simple, I'll be glad to take a look at it as I'm curioius as to why this is happening. You may send it to me at bill (at) wesnetdesigns (dot) com.


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
6/25/2008 11:25 AM
 

Sent.  Thanks Bill!


I'm too poor for anything other than the community version
 
New Post
6/26/2008 10:38 AM
 

Bill thanks for all your time and the email comments you sent me.  That was definitely way above and beyond.


I'm too poor for anything other than the community version
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Module Settings not retrievedModule Settings not retrieved


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