... simple enough in ASP. NET 3. 5. Look at the
code-behind page from Listing 1 -5.
The code-behind page is rather simple in appearance because of the partial class capabilities that .NET
3. 5 provides. ... c01.tex V2 - 01/28/2008 12:27pm Page 13
Chapter 1: Application and Page Frameworks
ASP. NET 3. 5 Page Directives
ASP. NET directives are something that is a part of...
... routine.
Which file types are compiled in the App_Code folder? As with most things in ASP. NET, this is deter-
mined through settings applied in a configuration file. Listing 1-18 shows a snippet of configuration ... master
Web.config
file found in ASP. NET 3. 5.
Listing 1-18: Reviewing the list of build providers
<
compilation
>
<
buildProviders
>
<
add extension=&q...
... a good understanding of HTML. For more information on HTML,
please read Wrox’s Beginning Web Programming with HTML, XHTML, and CSS (Wiley Publishing,
Inc.; ISBN 978 -0 470 - 25 931 -3) . You can also ... the styles directly to the tags contained in your ASP. NET pages.
For instance, you apply a style to a string, as shown in Listing 2 -3.
Listing 2 -3: Applying CSS styles directly...
... this
writing is
http://ws.strikeiron.com/InnerGears/ForecastByZip2?WSDL
. For more information
on working with Web services in your ASP. NET applications, check out Chapter 30 .
After building and running ... i[1];
contactName.innerHTML = i[2];
contactTitle.innerHTML = i [3] ;
address.innerHTML = i[4];
city.innerHTML = i [5] ;
region.innerHTML = i[6];
postalCode.innerHTML = i [7] ;
co...
... = System.Drawing.Color.LightGray;
}
}
<
/script
>
149
Evjen c 03. tex V2 - 01/28/2008 12 :33 pm Page 1 45
Chapter 3: ASP. NET Web Server Controls
Figure 3- 25
Listing 3- 21: Retrieving a range of ... dates in
the selected range, Listing 3- 21 shows you how to get them.
144
Evjen c 03. tex V2 - 01/28/2008 12 :33 pm Page 151
Chapter 3: ASP. NET Web Server Controls
As you c...
... the end user
makes, as illustrated in Listing 3- 30.
159
Evjen c 03. tex V2 - 01/28/2008 12 :33 pm Page 1 63
Chapter 3: ASP. NET Web Server Controls
Listing 3- 33: Working with the HiddenField server control
VB
<
%@ ... XPath="FilmChoices/Film"
>
161
Evjen c 03. tex V2 - 01/28/2008 12 :33 pm Page 159
Chapter 3: ASP. NET Web Server Controls
Figure 3- 34
To empl...
... any other ASP. NET page.
234
Evjen c 05. tex V2 - 01/28/2008 12:47pm Page 229
Working with Master Pages
Visual inheritance is a great new enhancement to your Web pages provided by ASP. NET 3. 5. This
feature ... want. Figure 5 -3 shows the
master page with a couple of content areas shown.
231
Evjen c 05. tex V2 - 01/28/2008 12:47pm Page 232
Chapter 5: Working with Master Pa...
... Europe and Reuters America master pages simply create a master
page that inherits from the global master page, as illustrated in Listing 5- 17.
Listing 5- 17: The main master page
ReutersMain.master
<
%@ ... into a single instance. Listing 5- 16 illustrates how to assign the
master page programmatically from the content page.
251
Evjen c 05. tex V2 - 01/28/2008 12:47pm Page 254...
... used instead. This is illustrated in Figure 5- 17.
Figure 5- 17
2 57
Evjen c 05. tex V2 - 01/28/2008 12:47pm Page 256
Chapter 5: Working with Master Pages
The Content control in this content page points ... templated Web sites. ASP. NET 3. 5 introduces ASP. NET AJAX as part
of the default install and you will find that master pages and Ajax go together quite well.
AS...