Skip to content

Commit c3ca5c4

Browse files
committed
trying to repair the build that seems to be broken on this HOL
1 parent c7f5bfb commit c3ca5c4

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

HOL.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -600,15 +600,19 @@ In this section, you will enable unobtrusive validation in ASP.NET to compare th
600600
601601
> **Note:** You can also set this property in the "**Page_Load**" event in case you want to enable Unobtrusive Validation only for some pages.
602602
603-
1. Open the **Global.asax.cs** file and add the following using statement (shown in bold) (Code Snippet _- Web Forms Lab - Ex02 - Using statements)_
603+
1. Open the **Global.asax.cs** file and add the following using statement (shown in bold)
604+
605+
(Code Snippet _- Web Forms Lab - Ex02 - Using statements)_
604606
605607
````C#
606608
using System.Web.SessionState;
607609
using WebFormsLab.Model;
608610
using System.Web.ModelBinding;
609611
````
610612
611-
1. Within the **Application_Start** method of the **Global.asax.cs** file, add the following code (Code Snippet _- Web Forms Lab - Ex02 - ScriptREsourceDefinition)_
613+
1. Within the **Application_Start** method of the **Global.asax.cs** file, add the following code
614+
615+
(Code Snippet _- Web Forms Lab - Ex02 - ScriptResourceDefinition)_
612616
613617
````C#
614618
ScriptResourceDefinition myScriptResDef = new ScriptResourceDefinition();
@@ -619,7 +623,9 @@ In this section, you will enable unobtrusive validation in ASP.NET to compare th
619623
ScriptManager.ScriptResourceMapping.AddDefinition("jquery", null, myScriptResDef);
620624
````
621625
622-
1. Open **Site.Master.** Add the code below to include a **ScriptManager** on the page to include a script reference to the jQuery client library. (Code Snippet - _Web Forms Lab - Ex01 - Script Manager_)
626+
1. Open **Site.Master.** Add the code below to include a **ScriptManager** on the page to include a script reference to the jQuery client library.
627+
628+
(Code Snippet - _Web Forms Lab - Ex01 - Script Manager_)
623629
624630
````HTML
625631
<form runat="server">
@@ -666,7 +672,7 @@ ASP.NET 4.5 introduces data annotations validation for Web Forms. Instead of hav
666672
667673
1. Add data annotations to validate the Customer model class. Open **Customer.cs** class in the **Model** folder and _decorate_ each property using data annotation attributes.
668674
669-
(Code Snippet -_Web Forms Lab - Ex02 - Data Annotation_s)
675+
(Code Snippet -_Web Forms Lab - Ex02 - Data Annotations_)
670676
671677
````C#
672678
namespace WebFormsLab.Model

0 commit comments

Comments
 (0)