Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Hi Saar,
I would first of all check the namespace of your class SubMenu.cs, the namespace you be EPiServer.Templates.RelatePlus.UserControls and then make sure you have compiled the project.
Best regards,
Tom
I think the namespace is ok, the build was good too
SubMenu.ascx
<%@ Control Language="C#" AutoEventWireup="false" CodeBehind="SubMenu.ascx.cs" Inherits="EPiServer.Templates.RelatePlus.UserControls.SubMenu" %>
SubMenu.ascx.cs
namespace EPiServer.Templates.RelatePlus.UserControls
Following http://world.episerver.com/en/Get-Started/Developing-with-EPiServer-CMS/Getting-Started-Developing-with-EPiServer-CMS-5/Getting-Started-Sub-Menu/
I have created a SubMenu, however I am getting the error below
Server Error in '/' Application.
--------------------------------------------------------------------------------
Parser Error
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: Could not load type 'EPiServer.Templates.RelatePlus.UserControls.SubMenu'.
Source Error:
Line 1: <%@ Control Language="C#" AutoEventWireup="false" CodeBehind="SubMenu.ascx.cs" Inherits="EPiServer.Templates.RelatePlus.UserControls.SubMenu" %>
Line 2:
Line 3:
Source File: /Templates/RelatePlus/UserControls/SubMenu.ascx Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053