Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

$4.95 Windows Hosting at Webhost4life.com
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
The best choice for your web site host, email hosting, and domain registration.
 


  Sponsors  

Meet Our Sponsors

.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  Vertical Menu DNN Skins fail in 4.8.2
Previous Previous
 
Next Next
New Post 4/19/2008 10:55 AM
Unresolved
User is offline Thomas
11 posts
10th Ranked


Vertical Menu DNN Skins fail in 4.8.2 

The DNN standard skins use TREEVIEW for their vertical menu skins. In the versions shipped in 4.8.2 Install they don't work. When you preview them they give the error message:

An error has occurred.
DotNetNuke.Services.Exceptions.ModuleLoadException:
Object reference not set to an instance of an object.
---> System.NullReferenceException: Object reference not set to an instance of an object.
at DotNetNuke.UI.Skins.Controls.TreeViewMenu.BuildTree(DNNNode objNode, Boolean blnPODRequest)
at DotNetNuke.UI.Skins.Controls.TreeViewMenu.Page_Load(Object sender, EventArgs e)
--- End of inner exception stack trace ---

Since the Install only includes Blue and Gray DNN skins, I took the yellow, green and red ones from the 3.1.1 archive. Their vertical menu versions work fine. I looked at the difference in the code, then added the missing code to the 4.8.2 version ones and now they work fine too.

Here is  the 4.8.2 code that fails:

<%@ Register TagPrefix="dnn" TagName="TREEVIEW" Src="~/Admin/Skins/TreeViewMenu.ascx" %>
    <TD class="leftpane" id="LeftPane" runat="server" valign="top" align="center">
      <dnn:TREEVIEW runat="server" id="dnnTREEVIEW" />
      <BR>
    </TD>

Here is the 3.1.1 code that works:

<%@ Register TagPrefix="dnn" TagName="TREEVIEW" Src="~/Admin/Skins/TreeViewMenu.ascx" %>
    <TD class="leftpane" id="LeftPane" runat="server" valign="top" align="center">
      <dnn:TREEVIEW runat="server" id="dnnTREEVIEW"

  bodyCssClass="Normal" CssClass="TreeViewMenu" headerCssClass="TreeViewMenu_Header"
  headerTextCssClass="Head" level="root" nowrap="true" treeIndentWidth="5" />
      <BR>
    </TD>

It seems that everything after id="dnnTREEVIEW" is missing in 4.8.2; maybe in earlier versions too.

 Is this a bug?

 

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  Vertical Menu DNN Skins fail in 4.8.2
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


XCESS expertise center b.v.
Custom made modules and complete solutions for the DNN framework. Maatwerk modules en complete webtoepassingen gebaseerd op het DNN framework.
www.xcess.nl
EMAS Pro
Strategic Enrollment Management Software for Higher Education Recruitment, Retention and Financial Aid
www.emaspro.com
Subzero Solutions
Dutch / English DotNetNuke consultancy services. Custom module development in any version. Complete application integration. Small business portal hosting. Your ideas our innovation - Your success our motivation. K.v.k Amsterdam: 34236342
www.subzero-solutions.net

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP