A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
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:
Line 14: namespace EpiserverCMS8.Views.UserControls Line 15: { Line 16: public partial class MainMenu : UserControlBase
Line 17: {
Line 18: protected override void OnLoad(System.EventArgs e) Source File: d:\Joseph\EpiserverCMS8\EpiserverCMS8\Views\UserControls\MainMenu.ascx.cs Line: 16