From 4697a8ab55aae200416e9e76c71ed6e445901a34 Mon Sep 17 00:00:00 2001 From: Jaxel Rojas Date: Mon, 2 Apr 2018 11:24:19 -0400 Subject: [PATCH] Update partial-tag-helper.md (#5852) Corrected language syntax of ProductModel from cshtml to csharp. --- aspnetcore/mvc/views/tag-helpers/built-in/partial-tag-helper.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/mvc/views/tag-helpers/built-in/partial-tag-helper.md b/aspnetcore/mvc/views/tag-helpers/built-in/partial-tag-helper.md index db5ba282c7..fc1240f611 100644 --- a/aspnetcore/mvc/views/tag-helpers/built-in/partial-tag-helper.md +++ b/aspnetcore/mvc/views/tag-helpers/built-in/partial-tag-helper.md @@ -56,7 +56,7 @@ The following markup loads *_ProductPartial.cshtml*: The partial view is bound to the associated page model's `Product` property: -[!code-cshtml[](samples/TagHelpersBuiltIn/Pages/Product.cshtml.cs?highlight=8)] +[!code-csharp[](samples/TagHelpersBuiltIn/Pages/Product.cshtml.cs?highlight=8)] ## view-data