Adding Controls to a Web Form
The procedure for adding controls to a Web form is very much like that for adding controls to a Windows form. Follow these steps:
Display the page in the Web Forms Designer.
If you’re working in Flow layout mode, set the cursor where you want the new page element to appear.
Double-click the control you want in either the HTML portion or the Web Forms portion of the Toolbox window.
To reposition a control on the form, select it and then drag its center. To resize it, drag its handles.
Use the Properties window to customize the control’s properties.
In addition, Visual Studio displays the following main menu choices whenever the Web Forms Designer is active:
Format
has commands for changing the font, alignment, size, ...
Get Faster Smarter Beginning Programming 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.