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

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Container Problem - 400 - Object reference not setContainer Problem - 400 - Object reference not set
Previous
 
Next
New Post
5/10/2007 12:25 PM
 

I'm having an odd problem with a container I created for DNN 4.5.  The actions menu isn't working.  Here's the ASCX:

<%@ Control language="vb" CodeBehind="~/admin/Containers/container.vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.UI.Containers.Container" %>
<%@ Register TagPrefix="dnn" TagName="ACTIONS" Src="~/Admin/Containers/Actions.ascx" %>
<%@ Register TagPrefix="dnn" TagName="TITLE" Src="~/Admin/Containers/Title.ascx" %>
<%@ Register TagPrefix="dnn" TagName="ACTIONBUTTON5" Src="~/Admin/Containers/ActionButton.ascx" %>
<%@ Register TagPrefix="dnn" TagName="ACTIONBUTTON1" Src="~/Admin/Containers/ActionButton.ascx" %>
<%@ Register TagPrefix="dnn" TagName="ACTIONBUTTON2" Src="~/Admin/Containers/ActionButton.ascx" %>
<%@ Register TagPrefix="dnn" TagName="ACTIONBUTTON4" Src="~/Admin/Containers/ActionButton.ascx" %>
<div class="modNT">
  <div class="modNThead">
<span class="modNTright"><dnn:ACTIONBUTTON5 runat="server" id="dnnACTIONBUTTON5" CommandName="ModuleHelp.Action" DisplayIcon="True" DisplayLink="False" /></span>
<span class="modNTleft"><dnn:ACTIONS runat="server" id="dnnACTIONS" ProviderName="DNNMenuNavigationProvider" ExpandDepth="1" PopulateNodesFromClient="True" /></span>
<dnn:TITLE runat="server" id="dnnTITLE" /></div>
  <div id="ContentPane" runat="server" class="modNTbody"></div>
  <div class="modNTfoot">
<span class="modNTright"><dnn:ACTIONBUTTON2 runat="server" id="dnnACTIONBUTTON2" CommandName="SyndicateModule.Action" DisplayIcon="True" DisplayLink="False" />&nbsp;<dnn:ACTIONBUTTON4 runat="server" id="dnnACTIONBUTTON4" CommandName="ModuleSettings.Action" DisplayIcon="True" DisplayLink="False" /></span>
<dnn:ACTIONBUTTON1 runat="server" id="dnnACTIONBUTTON1" CommandName="AddContent.Action" DisplayIcon="True" DisplayLink="True" /></div>
</div>

And here's the error I see when I hover over the drop down arrow:

Error Message

I don't see any significant differences between my code and the default DNN Blue containers.  What am I missing?

Thanks in advance for your help!

 
New Post
5/11/2007 1:36 PM
 

Looks like your callback to populate the items on demand is failing.  Hard to say why.  You could simply remove the attributes ExpandDepth="1" and PopulateNodesFromClient="True" to disable this feature and always pull all menu items down.

 


 
New Post
5/14/2007 5:10 PM
 

Thanks for the tip, Jon.  I'll give it a try.

Does anyone know if this new menu system is documented anywhere?  It's not in the Skinning Guide.  What do those two attributes do?  Are there others that I might need to add?

It's a bit of a mystery...

 
New Post
5/16/2007 2:35 PM
 

That functionality is discussed in this document


 
New Post
5/16/2007 2:51 PM
 

Thanks, Jon.  I'll take a look.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Container Problem - 400 - Object reference not setContainer Problem - 400 - Object reference not set


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