Đang chuẩn bị liên kết để tải về tài liệu:
ASP.NET AJAX Programmer’s Reference - Chapter 9

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

Event Bubbling and Button Client Control Chương này thảo luận về việc thực hiện các kiểm soát khách hàng nút ASP.NET AJAX và các trang web sử dụng điều khiển. Bạn cũng sẽ tìm hiểu làm thế nào để thực hiện kiểm soát khách hàng tùy biến các sự kiện rằng bong bóng của họ để kiểm soát khách hàng mẹ của họ, và làm thế nào để thực hiện kiểm soát khách hàng tùy chỉnh mà bắt được sự kiện rằng con của họ kiểm soát bong bóng lên. CommandEventArgs Như bạn sẽ thấy sau này trong chương này, các. | Event Bubbling and Button Client Control This chapter discusses the implementation of the ASP.NET AJAX Button client control and Web pages that use this control. You ll also learn how to implement custom client controls that bubble their events up to their parent client controls and how to implement custom client controls that catch the events that their child controls bubble up. CommandEventArgs As you ll see later in this chapter the Button client control raises an event named command when the user clicks the button. The ASP.NET AJAX CommandEventArgs class is the event data class for the command event as defined in Listing 9-1. Listing 9-1 The CommandEventArgs Class Sys.Preview.UI.CommandEventArgs function Sys Preview UI CommandEventArgs commandName argument Sys.Preview.UI.CommandEventArgs.initializeBase this this._commandName commandName this._argument argument function Sys Preview UI CommandEventArgs get_argument return this._argument function Sys Preview UI CommandEventArgs get_commandName return this._commandName continued Chapter 9 Event Bubbling and Button Client Control Listing 9-1 continued Sys.Preview.UI.CommandEventArgs.prototype get_argument Sys Preview UI CommandEventArgs get_argument get_commandName Sys Preview UI CommandEventArgs get_commandName Sys.Preview.UI.CommandEventArgs.descriptor properties name argument type String readOnly true name commandName type String readOnly true Sys.Preview.UI.CommandEventArgs.registerClass Sys.Preview.UI.CommandEventArgs Sys.EventArgs The CommandEventArgs class exposes two read-only properties of type string named commandName and argument. The constructor of this class takes two string parameters and assigns them to these two properties Sys.Preview.UI.CommandEventArgs function Sys Preview UI CommandEventArgs commandName argument Sys.Preview.UI.CommandEventArgs.initializeBase this this._commandName commandName this._argument argument The constructor of this class is the only way to set the values of the commandName

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.