Developer forum

Forum » Development » Error: Unknown server tag 'dw:ModuleHeader'.

Error: Unknown server tag 'dw:ModuleHeader'.


Reply

Hey peps,

 

I've just tried to make a small custom module by following the guide from the Download area.

 

but i get this error when i add the module to a paragraph:

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Unknown server tag 'dw:ModuleHeader'.

Source Error:

Line 2:  	Inherits="CustomModules.CustomModules.DataRepeater.DataRepeater_Edit" %>
Line 3:  
Line 4:  <dw:ModuleHeader ID="ModuleHeader1" runat="server" ModuleSystemName="ModuleSystemName" />

Server Error in '/' Application.

Parser Error

 

 

My edit page looks like this:

 

<%

@ Page Language="C#" AutoEventWireup="true" Codebehind="DataRepeater_Edit.aspx.cs"

 

Inherits="CustomModules.CustomModules.DataRepeater.DataRepeater_Edit" %>

<

dw:ModuleHeader ID="ModuleHeader1" runat="server" ModuleSystemName="ModuleSystemName" />

 

and my code behind like this:

 

using

System;

using

System.Data;

using

System.Configuration;

using

System.Collections;

using

System.Web;

using

System.Web.Security;

using

System.Web.UI;

using

System.Web.UI.WebControls;

using

System.Web.UI.WebControls.WebParts;

using

System.Web.UI.HtmlControls;

namespace

{

 

CustomModules.CustomModules.DataRepeaterpublic partial class DataRepeater_Edit : System.Web.UI.Page

{

 

{

Dynamicweb.

}

}

}

protected void Page_Load(object sender, EventArgs e)Properties p = Dynamicweb.Properties.LoadProperties();

 

 

What am i doing wrong?


Replies

 
Reply

Three things from the top of my head just before hitting the sack:)

1: Is the control registered in your designer file?

2: Did you compile before viewing in browser?

3: Do you have a reference to Dynamicweb.Controls.dll in your project?

 

You must be logged in to post in the forum