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...Administration ...Administration ... Extensions Module Not Loading DNN Ver 6.2 Community Extensions Module Not Loading DNN Ver 6.2 Community
Previous
 
Next
New Post
6/29/2012 11:17 AM
 

Had the same issue with version 6.1.3.108.  I think it has something to do with targeting framework 4.0.  

Here is the markup for the controls in question.

<div class="dnnForm exieContent dnnClear"><br>            <h2 id="Panel-<%# GetPackageType(Container.DataItem) %>" class="dnnFormSectionHead"><a href="" ><%# GetPackageType(Container.DataItem) %></a></h2><br>            <fieldset><br>                <asp:DataGrid ID="extensionsGrid" CellPadding="0" CellSpacing="0" AutoGenerateColumns="false" runat="server" GridLines="None"Width="100%" CssClass="dnnGrid">

the code expects everything before the DataGrid to be added to the controls collection as a single literal control.  Instead each tag is added as a literal or databoundliteral control pushing the DataGrid from [1] to [5].

So DataGrid extensionsGrid = item.Controls[1] as DataGrid; references the h2 tag and not the grid.  As a result a null reference is passed into the BindGrid method.

Don't know why the dev team is using an explicit control index instead of using item.FindControl("extensionsGrid") but , that's what I did to correct the error.

 
New Post
6/29/2012 12:19 PM
 
Joe, thanks for the update, i will log it as an issue - im not 100% convinced that the .net version is the single cause as I use .net 4.0 and it works without the change (however it may be related to a particular skin DOCTYPE under .net 4.0 altering rendering) - nonetheless it is poorly written code and needs fixed so I will log it.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
9/24/2012 3:27 AM
 

Yes. Exactly. I done!

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ... Extensions Module Not Loading DNN Ver 6.2 Community Extensions Module Not Loading DNN Ver 6.2 Community


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