... eBook ptg 1 34 LISTING 3.5 ShowValidationGroups.aspx <%@ Page Language=”C#” %> <!DOCTYPE html PUBLIC -/ /W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> ... eBook ptg 142 CHAPTER 3 Using the Validation Controls LISTING 3.8 ShowInitialValue.aspx <%@ Page Language=”C#” %> <!DOCTYPE html PUBLIC -/ /W3C//DTD XHTML 1.0...
Ngày tải lên: 06/07/2014, 18:20
... Localization Expressions 143 8 Implicit Localization Expressions. 144 1 Using Local Resources with Page Properties 144 3 Retrieving Local Resources Programmatically 144 4 Creating Global Resources 144 6 Retrieving ... 145 4 Creating a Simple BuildProvider 145 4 Creating a Data Access Component BuildProvider 145 8 Creating a Custom ExpressionBuilder. 146 4 Creating a Lookup ExpressionBuild...
Ngày tải lên: 06/07/2014, 18:20
ASP.NET 4 Unleased - p 3 docx
... 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 ... Postback 171 2 Handling UpdatePanel Errors Gracefully 17 14 UpdatePanel Performance 172 0 Using the Timer Control 17 24 Using the UpdateProgress Control 172 8 Summary ....
Ngày tải lên: 06/07/2014, 18:20
ASP.NET 4 Unleased - p 6 doc
... 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...
Ngày tải lên: 06/07/2014, 18:20
ASP.NET 4 Unleased - p 14 docx
... 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...
Ngày tải lên: 06/07/2014, 18:20
ASP.NET 4 Unleased - p 20 docx
... 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...
Ngày tải lên: 06/07/2014, 18:20
ASP.NET 4 Unleased - p 23 doc
... Listing 4. 10. FIGURE 4. 6 Displaying a pop-up calendar. From the Library of Wow! eBook ptg 200 CHAPTER 4 Using the Rich Controls LISTING 4. 9 CalendarJS.aspx <%@ Page Language=”C#” %> <!DOCTYPE ... Wow! eBook ptg 196 CHAPTER 4 Using the Rich Controls LISTING 4. 7 ShowCalendar.aspx <%@ Page Language=”C#” %> <!DOCTYPE html PUBLIC -/ /W3C//DTD XHTML 1.0 Transiti...
Ngày tải lên: 06/07/2014, 18:20
ASP.NET 4 Unleased - p 27 docx
... 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...
Ngày tải lên: 06/07/2014, 18:20
ASP.NET 4 Unleased - p 30 docx
... 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...
Ngày tải lên: 06/07/2014, 18:20
ASP.NET 4 Unleased - p 49 doc
... Wow! eBook ptg 45 9 Working with the DropDownList Control 10 LISTING 10.9 ShowDropDownList.aspx <%@ Page Language=”C#” %> <!DOCTYPE html PUBLIC -/ /W3C//DTD XHTML 1.1//EN” “http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd”> ... ptg 45 5 Overview of the List Controls 10 LISTING 10.8 ListPicker.aspx <%@ Page Language=”C#” %> <!DOCTYPE html PUBLIC -/ /W3C//DTD XHTML 1.1...
Ngày tải lên: 06/07/2014, 18:20