tailieunhanh - Làm việc với các điều khiển

Sự thành công của một ứng dụng chủ yếu phụ thuộc vào giao diện người dùng của nó. Đối với một ứng dụng để thành công, giao diện của nó cần phải được hấp dẫn và dễ sử dụng. Một giao diện người sử dụng có thể được thiết kế bằng cách sử dụng các loại điều khiển được cung cấp trong . cung cấp các loại điều khiển có thể được thêm vào một hình thức web để làm cho nó tương tác. Tuy nhiên, trong khi phát triển một ứng dụng, bạn có thể phải đối mặt. | Working with Controls Chapter 2 The success of an application largely depends upon its user interface. For an application to be successful its interface needs to be attractive and easy-to-use. Such a user interface can be designed by using various types of controls provided in . provides various types of controls that can be added to a Web form to make it interactive. However while developing an application you may face a situation where the built-in controls do not fulfill your requirements. In such a situation you need to create custom controls. This chapter provides an overview of the controls used in an application. It also discusses how to create custom controls and implement them in a Web application. Objectives In this chapter you will learn to ỆI Use Web Server controls ỆI Create custom controls Using Web Server Controls In the earlier days of Web development the programmers had to use HTML controls to design a Web application because there were no other controls available. The HTML controls do not provide any built-in methods and events. Programmers had to manually write the methods and events by using client-side scripts to create a dynamic Web page. This is a time-consuming process. In addition it is insecure because the client-side scripts are visible to the users when they view the source for the Web page. solves this problem by providing server controls. Server controls are the fundamental building blocks that are specifically designed to work with Web forms in an application. Server controls can be rendered as markup text on a Web browser and are capable of executing the program logic on the server. Server controls also provide built-in methods and events. This eliminates the need for writing the events and methods manually. In addition it provides security to the application because the program logic is executed on the Web server and only the result is sent back to the browser in the HTML format

TỪ KHÓA LIÊN QUAN
crossorigin="anonymous">
Đã 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.