ASP NET 4 UNLEASED P 111

Tìm thấy 10,000 tài liệu liên quan tới từ khóa "ASP NET 4 UNLEASED P 111":

ASP.NET 4 Unleased - p 111 ppsx

ASP NET 4 UNLEASED P 111 PPSX

NOTE TRANG 5 ptg 1078 CHAPTER 22 Using the Navigation Controls The page in Listing 22.32 illustrates how you can use the SqlHierarchicalDataSource control to bind a Menu control to a dat[r]

10 Đọc thêm

ASP.NET 4 Unleased - p 26 potx

ASP.NET 4 UNLEASED - P 26 POTX


ptg 232 CHAPTER 4 Using the Rich Controls
NOTE
Silverlight applications are built using the Silverlight SDK and Visual Studio using spe- cific markup called XAML. Building the actual Silverlight content is beyond the scope of this book. For more information on building applications i[r]

10 Đọc thêm

ASP.NET 4 Unleased - p 31 ppt

ASP NET 4 UNLEASED P 31 PPT

Every ASP.NET control 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 two Calendar controls. The second Calendar control has its E[r]

10 Đọc thêm

ASP.NET 4 Unleased - p 30 docx

ASP.NET 4 UNLEASED - P 30 DOCX

First, you learn how to create Skins, which enable you to modify the properties of an ASP.NET control that have an effect on its appearance.. You learn how to create both Default and Nam[r]

10 Đọc thêm

ASP.NET 4 Unleased - p 29 pptx

ASP.NET 4 UNLEASED - P 29 PPTX

The Page_Load() method in Listing 5.15 uses two page-level properties. The first repre- sents a Meta Description tag, and the second represents a Meta Keywords tag. When the page is rendered, the following tags are added to the <head> tag:
<meta name=”description” content=”A samp[r]

10 Đọc thêm

ASP.NET 4 Unleased - p 28 pot

ASP.NET 4 UNLEASED - P 28 POT

Relative URLs used by ASP.NET controls in a Master Page are automatically reinterpret- ed relative to the Master Page. This process of reinterpretation is called rebasing . Only ASP.NET control properties decorated with the UrlProperty attribute are rebased.
Second,[r]

10 Đọc thêm

ASP.NET 4 Unleased - p 27 docx

ASP NET 4 UNLEASED P 27 DOCX

Within a Content control, you can place anything that you would normally add to an ASP.NET page, including XHTML tags and ASP.NET controls.
Creating Default Content
You don’t need to associate a Content control with every ContentPlaceHolder control contained i[r]

10 Đọc thêm

ASP.NET 4 Unleased - p 25 ppsx

ASP.NET 4 UNLEASED - P 25 PPSX

For example, the page in Listing 4.17 contains a MultiView control with three View TRANG 8 ptg 4 LISTING 4.17 MultiViewTabs.aspx protected void Menu1_MenuItemClickobject sender, MenuE[r]

10 Đọc thêm

ASP.NET 4 Unleased - p 24 ppsx

ASP NET 4 UNLEASED P 24 PPSX

If you cache a page that contains an AdRotator control, the AdRotator control is excluded from the cache. In other words, even if you cache a page, randomly selected banner advertisements still display. The AdRotator control takes advantage of a fea- ture of the ASP.NET Framewo[r]

10 Đọc thêm

ASP.NET 4 Unleased - p 23 doc

ASP NET 4 UNLEASED P 23 DOC

TRANG 5 ptg The SelectionMode property enables you to change the behavior of the calendar so that you can not only select days, but also select weeks or months.. The page in Listing 4.8 [r]

10 Đọc thêm

ASP.NET 4 Unleased - p 22 pdf

ASP.NET 4 UNLEASED - P 22 PDF

To enable ASP.NET Framework to save an uploaded file to a particular folder, you need to right-click the folder within Windows Explorer, select the Security tab, and provide either the N[r]

10 Đọc thêm

ASP.NET 4 Unleased - p 33 potx

ASP NET 4 UNLEASED P 33 POTX


ptg
Summary
In this chapter, you learned how to create a consistent look for your website by taking advantage of ASP.NET Themes. In the first section, you learned how to modify the appear- ance of controls in a page with Skins. You learned how to create both Default and Named Sk[r]

10 Đọc thêm

ASP.NET 4 Unleased - p 21 pptx

ASP.NET 4 UNLEASED - P 21 PPTX

. Displaying a Wizard
. Displaying Silverlight Content
. Summary
I n previous chapters we examined the ASP.NET controls that you use in just about any application. In this chapter we examine a more specialized set of controls known collec- tively as the rich controls .

10 Đọc thêm

ASP.NET 4 Unleased - p 40 ppsx

ASP NET 4 UNLEASED P 40 PPSX

NOTE
To connect to SQL Server 2005 Express from a page served from Internet Information Server, you must add either the ASPNET account (in the case of Windows XP) or the Network Service account (for Windows 2003, Vista, and 7) to SQL Server Express. These accounts are created for you automatical[r]

10 Đọc thêm

ASP.NET 4 Unleased - p 42 pps

ASP.NET 4 UNLEASED - P 42 PPS

Finally, storing a connection string in a page can, potentially, hurt the performance of your application. The ADO.NET provider for SQL Server automatically uses connection pooling to improve your application’s data access performance. Instead of being destroyed when they are closed, the c[r]

10 Đọc thêm

ASP.NET 4 Unleased - p 41 potx

ASP NET 4 UNLEASED P 41 POTX

NOTE
Although you can use the SqlDataSource control when working with Microsoft Access, the ASP.NET Framework does include the AccessDataSource con- trol, which was designed specifically for Microsoft Access. Because using Microsoft Access for a website is not recommended, thi[r]

10 Đọc thêm

ASP.NET 4 Unleased - p 39 ppsx

ASP.NET 4 UNLEASED - P 39 PPSX

The value of the TRANG 3 ptg 356 CHAPTER 8 Overview of Data Access USING PROGRAMMATIC DATABINDING When you bind a DataBound control to a DataSource control, you can take advantage of _de[r]

10 Đọc thêm

ASP.NET 4 Unleased - p 37 potx

ASP NET 4 UNLEASED P 37 POTX

NOTE
What happened to the DataGrid? The DataGrid was included in ASP.NET 1.x Framework, but it no longer appears in the Toolbox in Visual Web Developer. The DataGrid is offi- cially deprecated. You should use the GridView control instead because the GridView is more powerful. For[r]

10 Đọc thêm

ASP.NET 4 Unleased - p 35 ppt

ASP NET 4 UNLEASED P 35 PPT

If you dynamically load a User control, you need to cast the control to the correct type before you can access any of the control’s custom properties. To get a reference to a User control’s type, you must use the <%@ Reference %> directive.
For example, imagine that you need to create a[r]

10 Đọc thêm