... to specify the position of the paging user interface. Possible
values are Bottom, Top, TopAndBottom.
. PreviousPageImageUrl—Enables you to display an image for the previous page link.
. PreviousPageText—Enables ...
</html>
When you open the page in Listing 12 .4, the contents of the EmptyDataText property
display.
If you need to display more complicated content when no results are re...
... VII: Building ASP. NET Applications—Discusses a variety of topics related to
building ASP. NET applications. For example, you learn how to improve the perfor-
mance of your ASP. NET applications by ... with the aspnet_regiis Tool 1557
Encrypting Sections Programmatically . 1558
Deploying Encrypted Web Configuration Files . 1 561
Summary 15 64
35 Deploying ASP. NET Web Applic...
... the page is posted back
to the server, ASP. NET Framework rips apart this string and re-creates the values of all the
properties stored in View State. In this way, ASP. NET Framework preserves ... ptg
30
CHAPTER 1 Overview of the ASP. NET Framework
FIGURE 1.10 Preserving state between postbacks.
The ASP. NET Framework uses a trick called View State. If you open the page in List...
... control represents something complex—such as a bar chart, pie graph, or
company organizational chart— you should supply a value for the DescriptionUrl prop-
erty. The DescriptionUrl property links ... OnClick=”mapMenu_Click”>
< ;asp: RectangleHotSpot
PostBackValue=”ToUpper”
Left=”0”
Top=”0”
Right=”100”
Bottom=”30”
AlternateText=”To Uppercase” />
< ;asp: RectangleHotSpot
PostBackV...
... your applicat ion’s App_Code
folder by right-clicking the App_Code folder and choosing to add a new item. Any class
added to this special folder is automatically compiled by the ASP. NET Framework.
The ... includeScript =
Page.ResolveClientUrl(“~/ClientScripts/AjaxValidator.js”);
Page.ClientScript.RegisterClientScriptInclude(“AjaxValidator”,
includeScript);
// Register startup script
St...
... Master Page in Listing 5.1 looks similar to a normal ASP. NET page. You can place
almost all the same elements in a Master Page that you can place in an ASP. NET page,
including HTML, server-side ... file any place within an application. Furthermore, you can add multi-
ple Master Pages to the same application.
For example, Listing 5.1 contains a simple Master Page.
LISTING 5.1 SimpleM...
... the appearance of the content.
In this chapter, you learn how to create and apply ASP. NET
Themes. First, you learn how to create Skins, which enable
you to modify the properties of an ASP. NET ... example, the
page in Listing 6.2 uses the Simple Theme.
LISTING 6.2 ShowSkin.aspx
<%@ Page Language=”C#” Theme=”Simple” %>
<!DOCTYPE html PUBLIC -/ /W3C//DTD XHTML 1.1//EN”
“h...