... while a page executes, you can enable tracing for a particular page or an entire application. The ASP.NET Framework supports both page-level tracing and application-level tracing. The page in ... all your pro- duction servers. From the Library of Wow! eBook ptg 44 CHAPTER 1 Overview of the ASP.NET Framework I’ve heard it argued that code-behind pages are superior to single-file pages...
Ngày tải lên: 06/07/2014, 18:20
... ImageButtonTarget.aspx <%@ Page Language=”C#” %> <!DOCTYPE html PUBLIC -/ /W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> <script runat=”server”> protected ... ShowLinkButton.aspx <%@ Page Language=”C#” %> <!DOCTYPE html PUBLIC -/ /W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-t...
Ngày tải lên: 06/07/2014, 18:20
ASP.NET 4 Unleased - p 15 potx
... /> <asp:RequiredFieldValidator id=”reqProductPrice” ControlToValidate=”txtProductPrice” Text=”(Required)” Display=”Dynamic” Runat=”server” /> <asp:CompareValidator id=”cmpProductPrice” ... ImageUrl property. If you set both the Text and ImageUrl properties, the ImageUrl property takes precedence. Summary In this chapter, you were introduced to the core controls of ASP.NET...
Ngày tải lên: 06/07/2014, 18:20
ASP.NET 4 Unleased - p 16 potx
... not yet support JavaScript. You can use the validation controls with browsers that do not support JavaScript (or do not have JavaScript enabled). If a browser does not support JavaScript, the ... the Page.IsValid property several times when building applications. Because you do not normally develop a web application with JavsaScript disabled in your browser, you won’t notice the problem ....
Ngày tải lên: 06/07/2014, 18:20
ASP.NET 4 Unleased - p 26 potx
... set to the path of the XAP file. <object id=”SilverlightContent” width= 40 0” height=”300” data=”data:application/x-silverlight-2,” type=”application/x-silverlight-2”> <param name=”source” ... WizardStep becomes active. . Deactivate—Raised when another WizardStep becomes active. The StepType property is the most important property. This property determines how a WizardStep is ren...
Ngày tải lên: 06/07/2014, 18:20
ASP.NET 4 Unleased - p 28 pot
... Runat=”Server”> Products, Products, Products <br />Products, Products, Products <br />Products, Products, Products <br />Products, Products, Products <br />Products, Products, Products </asp:Content> The ... .tabstrip { padding:3px; border-top:solid 1px black; border-bottom:solid 1px black; } .tabstrip a { font:14px Arial; color:DarkGreen; text-de...
Ngày tải lên: 06/07/2014, 18:20
ASP.NET 4 Unleased - p 33 potx
... directive. LISTING 7 .4 ShowAppRegister.aspx <%@ Page Language=”C#” %> <!DOCTYPE html PUBLIC -/ /W3C//DTD XHTML 1.1//EN” “http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd”> <html xmlns=”http://www.w3.org/1999/xhtml” ... control in an ASP.NET page. The page in Listing 7.2 contains the RandomImage User control. When you open the page, a random image displays. LISTING 7.2 Sh...
Ngày tải lên: 06/07/2014, 18:20
ASP.NET 4 Unleased - p 34 pot
... from the top-right drop-down list. NOTE The ASP.NET Framework includes a Menu control that you can use to create both tab- strips and pop-up menus. This control is discussed in Chapter 4, “Using ... 7.7 ShowProgrammatic.aspx <%@ Page Language=”C#” %> <%@ Register TagPrefix=”user” TagName=”PropertyRandomImage” Src=”~/PropertyRandomImage.ascx” %> <!DOCTYPE html PUBLIC -/...
Ngày tải lên: 06/07/2014, 18:20
ASP.NET 4 Unleased - p 37 potx
... <legend><asp:Literal ID=”ltlStep” runat=”server” /></legend> <asp:PlaceHolder id=”plhWizardStep” Runat=”server” /> </fieldset> <asp:Button id=”btnPrevious” Text=”< Previous” ... steps is created in the Page_Load() method. The path to each wizard step User control is added to a collection of wizard steps. The StepIndex property represents the index...
Ngày tải lên: 06/07/2014, 18:20
ASP.NET 4 Unleased - p 41 potx
... Database-Driven Web Application 8 FIGURE 8.20 Displaying employee details. FIGURE 8.21 Adding a new employee. From the Library of Wow! eBook ptg 375 Sample Database-Driven Web Application 8 Sample ... data-driven web application. I want to provide you with a real-world application that illustrates what can be built with the Data controls. In this section, a complete Employee Directory appl...
Ngày tải lên: 06/07/2014, 18:20
ASP.NET 4 Unleased - p 47 pot
... to use the Parameter, ControlParameter, CookieParameter, FormParameter, ProfileParameter, SessionParameter, and QueryStringParameter objects. Finally, you learned how to improve the performance ... Selected property enables you to show a list item as selected. Selected radio buttons and check boxes appear checked. The selected option in a DropDownList is the default option displayed. Sele...
Ngày tải lên: 06/07/2014, 18:20
ASP.NET 4 Unleased - p 54 pot
... 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 ... AllowPaging=”true” PageSize=”3” PagerSettings-Mode=”NextPreviousFirstLast” PagerSettings-Position=”TopAndBottom” PagerStyle-HorizontalAlign=”Center” Runat=”server” /> FIGU...
Ngày tải lên: 06/07/2014, 18:20
ASP.NET 4 Unleased - p 58 potx
... Wow! eBook ptg 548 CHAPTER 11 Using the GridView Control LISTING 11.28 HighlightRows.aspx <%@ Page Language=”C#” %> <!DOCTYPE html PUBLIC -/ /W3C//DTD XHTML 1.1//EN” “http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd”> ... edited. TemplateField supports the following six types of templates: . AlternatingItemTemplate—The contents of this template display for every other row rende...
Ngày tải lên: 06/07/2014, 18:20
ASP.NET 4 Unleased - p 69 potx
... <UpdateParameters> <asp:Parameter Name=”Id” /> <asp:Parameter Name=”Title” /> <asp:Parameter Name=”Director” /> <asp:Parameter Name=”InTheaters” /> </UpdateParameters> <DeleteParameters> <asp:Parameter ... LayoutTemplate and ItemTemplate templates to display the records from the Movie database table. LISTING 14. 1 SimpleListView.aspx <%@ P...
Ngày tải lên: 06/07/2014, 18:20
ASP.NET 4 Unleased - p 160 pot
... new Publish/Package SQL screen. FIGURE 35.6 The Publish/Package SQL screen. From the Library of Wow! eBook ptg CHAPTER 35 Deploying ASP.NET Web Applications IN THIS CHAPTER . Packaging Web Applications . ... new features in ASP.NET 4 ease the burden of web application deployment. After reading this chapter, you should quickly and easily deploy ASP.NET 4 applications to your devel...
Ngày tải lên: 06/07/2014, 18:20