Don't miss out Virtual Happy Hour today (April 26).
Try our conversational search powered by Generative AI!
AI OnAI Off
Don't miss out Virtual Happy Hour today (April 26).
What do you have in MainMenu.ascx ?
Is it:
<%@ Control Language="C#" AutoEventWireup="false" CodeBehind="MainMenu.ascx.cs" Inherits="EpiserverCMS8.Views.UserControls.MainMenu" %>
Or something else?
how can create user control in episerver 7.5
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl).
Source Error:
Source File: d:\Joseph\EpiserverCMS8\EpiserverCMS8\Views\UserControls\MainMenu.ascx.cs Line: 16