TAILIEUCHUNG - Beginning Ajax with ASP.NET- P13

Beginning Ajax with P13:Thank you for purchasing Beginning Ajax with . We know that you have a lot of options when selecting a programming book and are glad that you have chosen ours. We’re sure you will be pleased with the relevant content and high quality you have come to expect from the Wrox Press line of books. | Chapter 6 The 1 placeholder represents the WebForm_InitCallback JavaScript code which collects and prepares the form data to post to the server for the callback to the server to be correctly interpreted and trapped by the runtime engine. This is crucial so that the correct server-side methods are executed in response to the callback event as expected. Finally the 2 placeholder represents the code this arg MyControl_Callback null This code should look familiar and is the same method used to obtain a callback event reference in the initial page-centric examples detailed previously in the discussion of the ICallbackEventHandler interface. It is used for exactly the same purpose here as the final step to initiate the asynchronous callback request to the server. To summarize the implementation of the iCallbackContainer method first constructs the arguments to send to the server-side callback request and returns a JavaScript block that first clears the posted data initializes the collection of the posted data in the HTTP request via WebForm_InitCallback and finally initiates the callback request by obtaining the callback event through the method. This section is not intended as a complete discussion on the specifics of implementing asynchronous callback functionality within your custom controls but merely serves as an introduction on how to begin such a task with asynchronous callbacks in mind. The reader is encouraged to perform further investigation in this advanced topic area and in particular in the creation of custom controls. Summary This chapter has introduced the concept of Asynchronous Callback Client Scripts that are provided with . This feature allows a developer to utilize Ajax-like functionality within in a number of ways. You looked at how you could include asynchronous callbacks in your applications by Using out-of-the-box server controls that come .

TỪ KHÓA 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.