Working with controls

Tài liệu tham khảo về kỹ thuật lập trình | Working with controls Hà Đồng Hưng Objectives Server controls vs HTML controls Simple controls Label, Buttons (Button, LinkButton, ImageButton), TextBox List Controls (ListBox, DropDownList, Table,DataGrid, DataList, Repeater ) Data Binding with controls Simple Data Binding Data Binding with Database Validation controls Other controls Giới thiệu VMWare Workstation Objectives Server controls vs HTML controls Simple controls Label, Buttons (Button, LinkButton, ImageButton), TextBox List Controls (ListBox, DropDownList, Table,DataGrid, DataList, Repeater ) Data Binding with controls Simple Data Binding Data Binding with Database Validation controls Other controls Giới thiệu VMWare Workstation Server controls vs HTML controls Feature Server controls HTML controls Server events Trigger control-specific events on the server. Can trigger only page-level events on server (post-back) State Management Data entered in a control is maintained across requests. Data is not maintained; . | Working with controls Hà Đồng Hưng Objectives Server controls vs HTML controls Simple controls Label, Buttons (Button, LinkButton, ImageButton), TextBox List Controls (ListBox, DropDownList, Table,DataGrid, DataList, Repeater ) Data Binding with controls Simple Data Binding Data Binding with Database Validation controls Other controls Giới thiệu VMWare Workstation Objectives Server controls vs HTML controls Simple controls Label, Buttons (Button, LinkButton, ImageButton), TextBox List Controls (ListBox, DropDownList, Table,DataGrid, DataList, Repeater ) Data Binding with controls Simple Data Binding Data Binding with Database Validation controls Other controls Giới thiệu VMWare Workstation Server controls vs HTML controls Feature Server controls HTML controls Server events Trigger control-specific events on the server. Can trigger only page-level events on server (post-back) State Management Data entered in a control is maintained across requests. Data is not maintained; must be saved and restored using page-level scripts Adaptation Automatically detect browser and adapt display as appropriate. No automatic adaptation; must detect browser in code or write for least common denominator Properties The .NET Framework provides a set of properties for each control. Properties allow you to change the control s appearance and behavior within server-side code. HTML attributes only Giới thiệu VMWare Workstation Using HTML controls ??? Use HTML controls for the following reasons: Migration from earlier versions of ASP. Not all controls require server-side events or state management. This is particularly true when doing data binding. Bound items are usually refreshed from the data source with each request, so it is more efficient not to maintain state information for bound controls. use HTML controls or turn off state management for bound server controls. You have complete control over what is rendered with HTML controls. Giới thiệu VMWare .

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
Đã 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.