0

In Visual Studio I've been always getting the following errors when getting ModuleID in ascx, but the module compiles successfully. Any ideas how to fix these issues?

This is how I register the ascx:

 <%@ Control Language="vb" AutoEventWireup="true" CodeBehind="View.ascx.vb" Inherits="Christoc.Modules.babyList.View" %>

enter image description here

alwaysVBNET
  • 3,150
  • 8
  • 32
  • 65

1 Answers1

0

Try this code to access your Moduleid in ascx file

<%= ModuleId %>
atabrizi
  • 908
  • 1
  • 13
  • 29