ASP NET 4 Unleased - p 77 docx

ASP.NET 4 Unleased - p 77 docx

ASP.NET 4 Unleased - p 77 docx

... example, every ASP. NET page inher- its from the base System.Web.UI.Page class. The only reason that you can use properties such as the IsPostback property in an ASP. NET page is that the page ... example, the component in Listing 17. 14 is contained in the AspUnleashed.SampleCode namespace. LISTING 17. 14 Namespaced.cs namespace AspNetUnleashed.SampleCode { public class Namespaced...

Ngày tải lên: 06/07/2014, 18:20

10 269 0
ASP.NET 4 Unleased - p 3 docx

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 ... with the aspnet_regiis Tool 1557 Encrypting Sections Programmatically . 1558 Deploying Encrypted Web Configuration Files . 1561 Summary 15 64 35 Deploying ASP. NET Web Applicat...

Ngày tải lên: 06/07/2014, 18:20

10 302 0
ASP.NET 4 Unleased - p 14 docx

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

10 317 0
ASP.NET 4 Unleased - p 20 docx

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

10 286 0
ASP.NET 4 Unleased - p 27 docx

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

10 259 0
ASP.NET 4 Unleased - p 30 docx

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 ... of the properties of an ASP. NET control that have an effect on its appearance. For example, imagine that you decide that you want every TextBox control in your web application to appe...

Ngày tải lên: 06/07/2014, 18:20

10 190 0
ASP.NET 4 Unleased - p 52 docx

ASP.NET 4 Unleased - p 52 docx

... <script runat=”server”> void Page_Load() { // Build shopping list List<string> shoppingList = new List<string>(); shoppingList.Add(“Bread”); shoppingList.Add(“Milk”); shoppingList.Add(“Beer”); ... 11.2 ShowShoppingList.aspx <%@ Page Language=”C#” %> <%@ Import Namespace=”System.Collections.Generic” %> <!DOCTYPE html PUBLIC -/ /W3C//DTD XHTML 1.1//EN”...

Ngày tải lên: 06/07/2014, 18:20

10 268 0
ASP.NET 4 Unleased - p 63 docx

ASP.NET 4 Unleased - p 63 docx

... Control 12 font:14px Arial,Sans-Serif; } td,th { padding:10px; } #divDisplay { border:solid 1px black; width :40 0px; padding:15px; background-color:#eeeeee; } #divInsert { display:none; border:solid ... { display:none; border:solid 1px black; width :40 0px; position:absolute; top:30px; left:100px; padding:10px; background-color:white; } </style> <script type=”te...

Ngày tải lên: 06/07/2014, 18:20

10 337 0
ASP.NET 4 Unleased - p 71 docx

ASP.NET 4 Unleased - p 71 docx

... <AxisY> <StripLines> < ;asp: StripLine BorderColor=”Orange” BorderWidth=”2” /> </StripLines> </AxisY> < /asp: ChartArea> </ChartAreas> < /asp: Chart> < ;asp: SqlDataSource ... chtPrices.Series[“PriceSeries”].Points.AddXY(“2 /4/ 2010”, 85); chtPrices.Series[“PriceSeries”].Points.AddXY(“2/5/2010”, 45 ); chtPrices.Series[“PriceSeries”].Poi...

Ngày tải lên: 06/07/2014, 18:20

10 370 0
ASP.NET 4 Unleased - p 75 docx

ASP.NET 4 Unleased - p 75 docx

... TargetControlID=”RansomDataSource”> < ;asp: PropertyExpression> < ;asp: ControlParameter ControlID=”RansomValues” Name=”RansomValue”/> < /asp: PropertyExpression> < /asp: QueryExtender> There’s ... /> < /asp: PropertyExpression> < ;asp: SearchExpression ComparisonType=”InvariantCultureIgnoreCase” DataFields=”Title,Description” SearchType=”Contains”>...

Ngày tải lên: 06/07/2014, 18:20

10 247 0
w