DNNCommunity / DNNCommunity/DNN.Forum

Module Creation Ascx Page - 'X' is not declared. It may be inaccessible due to its protection level.

Open
#37 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Visual Basic .NET
Stars
9
Forks
7
PR merge metrics
No merged PRs in 30d

Description

On the front end page for an ascx control for a dnn module, I have been including ControlPath, PortalID, PortalSettings.Whatever, etc. on the control front end and have been getting errors from intellisense for years now. Everything works normally when the module is compiled or distributed but Visual Studio intellisense can't find the reference for it. Is there some sort of setting in Visual Studio or some sort of inclusion on the control's ascx that will remove those errors?

Thanks very much!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.