Markup fixes (#3300)
Markup of the code blocks was fixed ("Programming the Calendar Control" section).pull/3322/head
parent
85c9ac0f40
commit
60a581c38c
|
@ -310,11 +310,9 @@ In this section, you will program the [Calendar](https://msdn.microsoft.com/libr
|
||||||
A new event handler is created and displayed in teh code-behind file named *FirstWebPage.aspx.cs*.
|
A new event handler is created and displayed in teh code-behind file named *FirstWebPage.aspx.cs*.
|
||||||
2. Finish the [SelectionChanged](https://msdn.microsoft.com/library/system.web.ui.webcontrols.calendar.selectionchanged.aspx) event handler with the following code.
|
2. Finish the [SelectionChanged](https://msdn.microsoft.com/library/system.web.ui.webcontrols.calendar.selectionchanged.aspx) event handler with the following code.
|
||||||
|
|
||||||
**C#**
|
|
||||||
|
|
||||||
[!code-csharp[Main](creating-a-basic-web-forms-page/samples/sample3.cs?highlight=3)]
|
[!code-csharp[Main](creating-a-basic-web-forms-page/samples/sample3.cs?highlight=3)]
|
||||||
|
|
||||||
**VB**
|
|
||||||
|
|
||||||
[!code-vb[Main](creating-a-basic-web-forms-page/samples/sample4.vb?highlight=2)]
|
[!code-vb[Main](creating-a-basic-web-forms-page/samples/sample4.vb?highlight=2)]
|
||||||
|
|
||||||
|
@ -347,4 +345,4 @@ You can now test the calendar.
|
||||||
This walkthrough has illustrated the basic features of the Visual Studio page designer. Now that you understand how to create and edit a Web Forms page in Visual Studio, you might want to explore other features. For example, you might want to do the following:
|
This walkthrough has illustrated the basic features of the Visual Studio page designer. Now that you understand how to create and edit a Web Forms page in Visual Studio, you might want to explore other features. For example, you might want to do the following:
|
||||||
|
|
||||||
- Learn more about ASP.NET Web Forms by following the step-by-step tutorial series [Getting Started with ASP.NET 4.5 Web Forms and Visual Studio 2013](getting-started-with-aspnet-45-web-forms/introduction-and-overview.md).
|
- Learn more about ASP.NET Web Forms by following the step-by-step tutorial series [Getting Started with ASP.NET 4.5 Web Forms and Visual Studio 2013](getting-started-with-aspnet-45-web-forms/introduction-and-overview.md).
|
||||||
- Learn more about Cascading style sheets (CSS). For details, see [Working with CSS Overview](https://msdn.microsoft.com/library/bb398931.aspx).
|
- Learn more about Cascading style sheets (CSS). For details, see [Working with CSS Overview](https://msdn.microsoft.com/library/bb398931.aspx).
|
||||||
|
|
Loading…
Reference in New Issue