Using ASP.NET Server Controls
By now, the purpose of fundamental controls such as the Label, TextBox, and Button should be clear to you, regardless of whether you are working with Web forms or Windows forms. However, if you are familiar with the Windows versions of these controls, you may notice some big differences. For example, when you draw an ASP.NET Label control on a Web form, the first thing you should notice is several properties are missing! For example, there is no way to force text alignment to the left or right, as with a Windows control. (If you want to do this, you can use a Table cell, as described in the upcoming section “Displaying Information in a Table.”) Although lack of support for identical features may seem like a big ...
Get Special Edition Using Microsoft® Visual Basic® .NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.