Tweaking server controls (Photoshop web design) in Design view In Design

Tweaking server controls in Design view In Design view, clicking an ASP.NET control selects the control. The Properties sheet shows the name and properties of the control. The Properties sheet in Figure 7-3 shows an example in which a Login control is selected. The name of the control is Login1. Controls in the .NET Framework are organized into a hierarchical namespace, a place to keep them that works much the same way as the hierarchical organization of the folders on your hard disk that keep your files. In the Properties sheet of Figure 7-3, System.Web.UI.WebControls.Login is the full name of the Login control within the .NET Framework namespace. You can design some elements of an ASP.NET control using the Style Builder. Just right-click the control and choose Style, or click the control so its name shows at the top of the Properties sheet. Then click the Style property and the Build button that appears. The Style Builder opens, and you can choose items as you would for any normal HTML control. For example, to change the size of the text in the Login1 control, scroll down its properties list and click the + sign next to the Font property. Then click the Size property and choose a relative size like Medium. ASP.NET controls are converted to HTML before they re sent to the server. Element styles like TABLE and TD (for table cells) are applied to the HTML automatically. So don t knock yourself out trying to design an ASP.NET control in Design view until you ve had a chance to see how it looks in a Web browser. Figure 7-3: The Login Tasks menu, showing Properties for an ASP.NET control. 126 Part II: Building Your Web Site
Note: If you are looking for cheap and reliable webhost to host and run your web application check Vision coldfusion web hosting services

Leave a Reply