ASP NET 4 Unleased - p 31 ppt

ASP.NET 4 Unleased - p 31 ppt

ASP.NET 4 Unleased - p 31 ppt

... includes an EnableTheming property. You can use the EnableTheming property to prevent a Skin from being applied to a particular control in a page. For example, the page in Listing 6.8 contains ... BackColor=”White” BorderColor=”Black” BorderWidth=”4px” Font-Bold=”True” Font-Size=”12pt” ForeColor=”#333399” /> < /asp: Calendar> When you open the page in Listing 6.9 in a web brow...

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

10 199 0
ASP.NET 4 Unleased - p 9 pptx

ASP.NET 4 Unleased - p 9 pptx

... ASP. NET 2.0 pages, ASP. NET 3.0 pages, ASP. NET 3.5 pages, and ASP. NET 4 pages. Each version of .NET Framework is installed in the following folder: C:\WINDOWS\Microsoft .NET\ Framework For example, ... a property named the AssociatedControlID property. You can set this property to point at an ASP. NET control that represents a form field. For example, the page in Listin...

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

10 315 0
ASP.NET 4 Unleased - p 11 pptx

ASP.NET 4 Unleased - p 11 pptx

... using Internet Explorer, you can configure AutoComplete by selecting Tools, Internet Options, Content, and clicking the AutoComplete button. The ASP. NET Framework does not support AutoComplete for ... control, like the TextBox control, supports the AutoPostBack property. The page in Listing 2.11 illustrates how you can use the AutoPostBack property to post the form containing the chec...

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

10 395 0
ASP.NET 4 Unleased - p 19 pptx

ASP.NET 4 Unleased - p 19 pptx

... and Text property is that any message that you assign to the ErrorMessage property appears in the ValidationSummary control, and any message that you assign to the Text property appears in ... property. This property contains the name of a JavaScript function defined in the page’s <head> tag. The JavaScript validation function accepts the same two parameters as the server-side ... /...

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

10 252 0
ASP.NET 4 Unleased - p 21 pptx

ASP.NET 4 Unleased - p 21 pptx

... Figure 4. 1). 4 FIGURE 4. 1 Displaying a photo gallery. From the Library of Wow! eBook ptg 181 Accepting File Uploads NOTE Adding a FileUpload control to a page automatically adds a enctype=”multipart/form-data” ... control. LISTING 4. 1 FileUploadFile.aspx <%@ Page Language=”C#” %> <%@ Import Namespace=”System.IO” %> <!DOCTYPE html PUBLIC -/ /W3C//DTD XHTML 1.0 Tra...

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

10 284 0
ASP.NET 4 Unleased - p 29 pptx

ASP.NET 4 Unleased - p 29 pptx

... content=”HtmlMeta,Page.Header ,ASP. NET /> Exposing Master Page Properties You can expose properties and methods from a Master Page and modify the properties and methods from a particular content page. ... custom property in a Master Page, such as the BodyTitle prop- erty, the value of the Master property must be cast to the right type. The BodyTitle property is not a property of the ge...

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

10 267 0
ASP.NET 4 Unleased - p 32 ppt

ASP.NET 4 Unleased - p 32 ppt

... Themes width:200px; padding:10px; background-color:White; } #div1 { position:absolute; left :48 5px; top:115px; width:200px; padding:10px; background-color:White; } The point of this section ... can use the aspnet_regiis tool to copy the Theme folder. Execute the aspnet_regiis tool from the command line like this: aspnet_regiis -c From the Library of Wow! eBook ptg 286 CHAPTER 6 De...

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

10 210 0
ASP.NET 4 Unleased - p 35 ppt

ASP.NET 4 Unleased - p 35 ppt

... />Know outdated? “ + ➥ aspResults.KnowOutdated.ToString(); break; case 2: ASPNetSurvey aspNetResults = (ASPNetSurvey)_survey; ltlResults.Text = “<h1> ;ASP. NET Survey</h1>”; ltlResults.Text ... “~/FeaturedProducts”; protected void Page_Load(object sender, EventArgs e) { string featuredProductPath = GetRandomProductPath(); Control featuredProduct = Page.LoadControl(featur...

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

10 213 0
ASP.NET 4 Unleased - p 44 ppt

ASP.NET 4 Unleased - p 44 ppt

... of ASP. NET parameters: SelectParameters, InsertParameters, DeleteParameters, UpdateParameters, and FilterParameters. You can use these parameter collections to associate a particular ASP. NET ... to this property. You can use the ASP. NET parameter object to indicate several parameter properties explic- itly, such as a parameter’s type, size, and default value. For example, the pa...

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

10 236 0
ASP.NET 4 Unleased - p 50 ppt

ASP.NET 4 Unleased - p 50 ppt

... UpperAlpha . UpperRoman You can set BulletStyle to Numbered to display a numbered list. If you set this property to the value CustomImage and assign an image path to the BulletImageUrl property, ... of Wow! eBook ptg 46 4 CHAPTER 10 Using List Controls LISTING 10.11 ShowListBox.aspx <%@ Page Language=”C#” %> <!DOCTYPE html PUBLIC -/ /W3C//DTD XHTML 1.1//EN” “http://www.w3.org/...

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

10 206 0
w