Probably this something very simple, but I can't find what I'm doing wrong.
I want to use DNNTreeView in DNN 7.0.6 dev site. This instruction page almost get me there. The code behind resolves the controls, but the .ascx doesn't and gives me the following warning
Warning 102 Element ‘DnnTreeView’ is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing
the page looks like:
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="View.ascx.cs" Inherits="MySpace.Modules.MyModule.View" %>
<%@ Register TagPrefix="dnn" Namespace="DotNetNuke.Web.UI.WebControls" Assembly="DotNetNuke.Web" %>
<dnn:DnnTreeView runat="server" ID="tvMain">
</dnn:DnnTreeView>
I'm using @ChrisHammond 's templates for the solution.
I have following dll references:
- DotNetNuke.dll
- DotNetNuke.Web.dll
- Telerik.Web.UI.dll
Can you smart guys find what I'm missing?