SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 222 | Next

Rob Cameron and Dale Michalk

"Pro ASP.NET 3.5 Server Controls and AJAX Components"

You can see the style
changes take effect based on the class name you typed. The full listing of the web form is shown
in Listings 4-3 and 4-4, and the style sheet is shown in Listing 4-5.
CHAPTER 4 ?–  THE WEBCONTROL BASE C LASS AND CONTROL STYLES 141
Listing 4-3. The Web Control Style Web Form .aspx File
<%@ Page Language="C#"
MasterPageFile="~/MasterPage/ControlsBook2MasterPage.Master"
AutoEventWireup="true" CodeBehind="WebControlStyle.aspx.cs"
Inherits="ControlsBook2Web.Ch04.WebControlStyle"
Title="Web Control Style Demo" %>
<%@ Register TagPrefix="apress" Namespace="ControlsBook2Lib.Ch04"
Assembly="ControlsBook2Lib" %>

Width="14px">4  ID="ChapterTitleLabel" runat="server" Width="360px">
WebControl Base Class and Control
Styles



Web Control Style


Enter your first name:

Font-Bold="True" BackColor="#E0E0E0"
Font-Italic="True" Font-Names="Tahoma">





Font-Name:

Arial
Courier New
Times New Roman
Monotype Corsiva


ForeColor:

Blue
Red
Black


TextAlign="Left">




TextAlign="Left">


142 CHAPTER 4 ?–  T HE WEBCONTROL BASE CLASS AND CONTROL S TYLES
CSS class:




OnClick="SetStyleButton_Click">
 









Listing 4-4.


Pages:
210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6