Skip to content

There is no "@Html.DisplayName" in the generated CRUD templates #8005

Closed

Description

@spacecat

I believe this is a typo.

It's in this sentence:

"The @model directive specifies the type of the model passed to the Razor Page. In the preceding example, the @model line makes the PageModel-derived class available to the Razor Page. The model is used in the @Html.DisplayNameFor and @Html.DisplayName HTML Helpers on the page."


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Activity

  1. Rick-Anderson commented on Aug 9, 2018

    @Rick-Anderson
    Contributor

    @spacecat search for @Html.DisplayFor(
    It's there.

  2. added
    Source - Docs.ms
    on Aug 9, 2018
  3. spacecat commented on Aug 9, 2018

    @spacecat
    Author

    @Rick-Anderson In the docs it says @Html.DisplayName. There is no @Html.DisplayName in the templates.

  4. locked as resolved and limited conversation to collaborators on Jul 19, 2019
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

    Source - Docs.ms

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions