... need to open the page in Design view in either Visual Web Developer or Visual Studio .NET. LISTING 36.35 ShowGradientPanel.aspx <%@ Page Language=”C#” %> <%@ Register TagPrefix=”custom” ... the effect of the various design-time attributes. For example, a category and descrip- tion are associated with both the Title and Description properties in the Properties window (see Figure 3...
Ngày tải lên: 06/07/2014, 18:20
... 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 ... Server-Side ASP. NET AJAX . 1673 The Ajax Vision 16 74 Server-Side Ajax Versus Client-Side Ajax 1675 Debugging Ajax Applications 1675 Using the UpdatePanel Control 1677 S...
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 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 ... 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
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
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
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
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