diff --git a/vs4win/PracticalApps/Northwind.Mvc/Views/Home/AddCustomer.cshtml b/vs4win/PracticalApps/Northwind.Mvc/Views/Home/AddCustomer.cshtml index dba8014..8d89079 100644 --- a/vs4win/PracticalApps/Northwind.Mvc/Views/Home/AddCustomer.cshtml +++ b/vs4win/PracticalApps/Northwind.Mvc/Views/Home/AddCustomer.cshtml @@ -14,10 +14,12 @@
Customer ID must be five (5) upper case characters.
+
+
@@ -50,10 +52,16 @@
- Cancel and return to Customers -
+
+ +@section Scripts { + @{ + await Html.RenderPartialAsync("_ValidationScriptsPartial"); + } +} diff --git a/vscode/PracticalApps/Northwind.Mvc/Views/Home/AddCustomer.cshtml b/vscode/PracticalApps/Northwind.Mvc/Views/Home/AddCustomer.cshtml index dba8014..8d89079 100644 --- a/vscode/PracticalApps/Northwind.Mvc/Views/Home/AddCustomer.cshtml +++ b/vscode/PracticalApps/Northwind.Mvc/Views/Home/AddCustomer.cshtml @@ -14,10 +14,12 @@
Customer ID must be five (5) upper case characters.
+
+
@@ -50,10 +52,16 @@
- Cancel and return to Customers -
+
+ +@section Scripts { + @{ + await Html.RenderPartialAsync("_ValidationScriptsPartial"); + } +}