Skip to content

Cannot exclude using BeginCollectionItem for particular views #8

Description

@singhkamall

I have removed <add namespace="HtmlHelpers.BeginCollectionItem" /> from my web.config
And
@using HtmlHelpers.BeginCollectionItem and @using (Html.BeginCollectionItem){} from my particular views.

Views are still rendering those <ul>, <li> and hidden elements from Collection.cshtml

I want to use BeginCollectionItem only for particular views but it seems to be used everywhere even after I have removed it.

Am I missing something?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions