Skip to content

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

@ShiftUPConsulting

Description

@ShiftUPConsulting

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions