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" %>
asked Apr 12, 2021 at 9:59
alwaysVBNET
3,3408 gold badges35 silver badges70 bronze badges
1 Answer 1
Try this code to access your Moduleid in ascx file
<%= ModuleId %>
answered May 22, 2021 at 7:36
atabrizi
9181 gold badge14 silver badges30 bronze badges
Sign up to request clarification or add additional context in comments.