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

asked Apr 12, 2021 at 9:59

1 Answer 1

0

Try this code to access your Moduleid in ascx file

<%= ModuleId %>
answered May 22, 2021 at 7:36
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.