Đang chuẩn bị liên kết để tải về tài liệu:
Professional ASP.NET 3.5 in C# and Visual Basic Part 96

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

Professional ASP.NET 3.5 in C# and Visual Basic Part 96. Building on the revolutionary ASP.NET 2.0 release, ASP.NET 3.5 adds several key new developer features including AJAX, LINQ, and a new CSS designer in Visual Web Developer 2008. The dramatic reduction in code that developers realized from the more than 50 new server controls in ASP.NET 2.0 now allows developers the time to make their applications more interactive with AJAX, to work with data in their preferred language with LINQ, and to build visually attractive and consistent standards-based sites with CSS. . | Chapter 19 ASP.NET AJAX Figure 19-9 When this page is pulled up in the browser it has two buttons. The first button causes a complete page postback and updates the current time in the Label1 server control. Clicking on the second button causes an AJAX asynchronous postback. Clicking this second button updates the current server time in the Label2 server control. When you click the AJAX button the time in Label1 will not change at all as it is outside of the UpdatePanel. A screenshot of the final result is presented in Figure 19-10. When you first pull up the page from Listing 19-4 the code of the page is quite different from the page that was built without using AJAX. Listing 19-5 shows the page results that you will see. Listing 19-5 The page output for a page that is using AJAX html xmlns http www.w3.org 1999 xhtml head title My ASP.NET AJAX Page title head body form name form1 method post action Default.aspx id form1 div input type hidden name __EVENTTARGET id EVENTTARGET value input type hidden name __EVENTARGUMENT id __EVENTARGUMENT value input type hidden name __VIEWSTATE id __VIEWSTATE value wEPDwULLTE4NzE5NTc5MzRkZDRIzHpPZg4GaO9Hox9A RnOflkm 908 Chapter 19 ASP.NET AJAX div script type text javascript CDATA var theForm document.forms form1 if theForm theForm document.forml function __doPostBack eventTarget eventArgument if theForm.onsubmit theForm.onsubmit false theForm.EVENTTARGET.value eventTarget theForm.__EVENTARGUMENT.value eventArgument theForm.submit script script src AJAXWebSite WebResource.axd d o84znEj-n4cYi0Wg0pFXCg2 amp t 633285028458684000 type text javascript script script src AJAXWebSite ScriptResource.axd d FETsh5584DXpx8XqIhEM50YSKyR2GkoMoAqraYEDU5_ gi1SUmL2Gt7rQTRBAw56lSojJRQe0OjVI8SiYDjmpYmFP0 C08wBFGhtKKJwm2MeE1 amp t 6332850358503 04000 type text javascript script script type text javascript CDATA if typeof Sys undefined throw new Error ASP.NET AJAX client-side framework failed to load. script script src AJAXWebSite .

TÀI LIỆU LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.