Advanced ASP.NET Program PRESENTER: MR. DOAN QUANG MINH .Agenda Some addition knowledge Performing
Số trang: 124
Loại file: pdf
Dung lượng: 2.18 MB
Lượt xem: 10
Lượt tải: 0
Xem trước 10 trang đầu tiên của tài liệu này:
Thông tin tài liệu:
Advanced ASP.NET ProgramPRESENTER: MR. DOAN QUANG MINHAgendaSome addition knowledgePerforming Data Access Validating Form Input Control Styles, Themes, Skins MasterPage SiteMapASPX Life Cycle10 phases of ASPX Life CycleASP.NET AJAXFramework for apply Ajax style in web applicationSome addition knowledgePerforming Data AccessHow to perform data bindingValidating Form Input Control Styles, Themes, SkinsHow to customize the look-and-feel or style of pages and your applicationHow to check input forms for errors and display messageMasterPageHow to define common structure and interface elementsSiteMapHow to display navigation data that guides users throughPerforming Data AccessBinding to DatabasesThe GridView ControlIs a new data-bound control in ASP.NET 2.0 for render a...
Nội dung trích xuất từ tài liệu:
Advanced ASP.NET Program PRESENTER: MR. DOAN QUANG MINH .Agenda Some addition knowledge PerformingAdvanced ASP.NET ProgramPRESENTER: MR. DOAN QUANG MINH AgendaSome addition knowledge Performing Data Access Validating Form Input Control Styles, Themes, Skins MasterPage SiteMapASPX Life Cycle 10 phases of ASPX Life CycleASP.NET AJAX Framework for apply Ajax style in web application Some addition knowledgePerforming Data Access How to perform data bindingValidating Form Input Control How to check input forms for errors and display messageStyles, Themes, Skins How to customize the look-and-feel or style of pages and your applicationMasterPage How to define common structure and interface elementsSiteMap How to display navigation data that guides users through Performing Data AccessBinding to Databases The GridView Control Is a new data-bound control in ASP.NET 2.0 for render a tabular grid format Supports many features (binding, sorting, paging, editi The SqlDataSource Control Is a data source control that represents a connection to ADO.NET SQL database provider Self-describing about its capabilities (select, insert, upd sort) Data queries are specified directly as properties of the d control Usually use in small application Validating Form Input ControlMany controls allow validate input forms RequiredFieldValidator, RangeValidator, RegularExpressionValidator, CompareValidator, CustomValidator, ValidationSummary New features: Validation Groups, SetFocusOnError Styles, Themes, SkinsStyles Apply style by using CSS (HTML Control) or by usin attributes (Web Control)Themes and Skins Theme Theme defines the style settings for controls and pag separately from the pages of your application CSS file stores style settings for HTML Control, skin style setting for Web Control In practice, Theme is folder that contains css file, ski image file Apply theme by setting directory Theme, apply skin skin property MasterPageMaster and Content Pages Master Page is a page which contains ContentPlaceH control ContentPlaceHolder defines a region of the master p rendering that can be substituted with content from associated to the master Content Page declare Content controls that specifica override content placeholder sections in the Master Apply Master Page by using the Master property of SiteMapSite Navigator Data The navigation structures are represented in .sitema sitemap file is a XML file, in which a element contain Title and Description of a pageSiteSite Navigator Control SiteMapPath: enables the users to navigate back to o in the hierarchy TreeView: provides the vertical user interface to exp collapse selected nodes on a web page Menu: Provides a horizontal or vertical user interfac pops-out additional sub-menus when a user hovers item ASPX Life CycleObject InitializationLoad Viewstate DataLoadPostData Processes Postback DataObject LoadRaiseRaise PostBack Change EventProcess Client-Side PostBack EventPrerender the ObjectsViewState SavedRender To HTMLDisposal Object InitializationFired after the pages control tree has beensuccessfully created The control declared in the .aspx file will be initialize default values Can use event to initialize some of the settings Handle by OnInit() method Load Viewstate DataViewstate Is a collection of name/value pairs Store information (state) of control and pageLoadViewstate event Initialized Initialized controls receive their properties: the infor that was persisted back to the server on the last subm Override LoadViewstate() method to customize received by the control at the time it is populated LoadPostData Processes PostbackPostBack Term mean data posted to server IPostBackDataHandler interface will implemented o control that submitted data ASP.NET update the control state with the correct p data, by matching the controls unique ID with the n pair in the NameValueCollection Object LoadControl Tree Objects arranged in the page DOM Retrieve the client-side properties set in the HTML Code logic is executed Handle by override OnLoad() method Raise PostBack Change EventRaisePostDataChanged event Occurs after all controls that implement the IPostBackDataHandler interface have been updated correct postback data Each control is flagged with a Boolean on whether it actually changed or remains the same since the prev submit Fire after all controls are updated and after the Load occurred Process Client-Side PostBack EveRaisePostBackEvent The object which caused the postback is handled Typical by control that posted the page back to the s to a state change (with autopostback enabled) or a fo submit button that ...
Nội dung trích xuất từ tài liệu:
Advanced ASP.NET Program PRESENTER: MR. DOAN QUANG MINH .Agenda Some addition knowledge PerformingAdvanced ASP.NET ProgramPRESENTER: MR. DOAN QUANG MINH AgendaSome addition knowledge Performing Data Access Validating Form Input Control Styles, Themes, Skins MasterPage SiteMapASPX Life Cycle 10 phases of ASPX Life CycleASP.NET AJAX Framework for apply Ajax style in web application Some addition knowledgePerforming Data Access How to perform data bindingValidating Form Input Control How to check input forms for errors and display messageStyles, Themes, Skins How to customize the look-and-feel or style of pages and your applicationMasterPage How to define common structure and interface elementsSiteMap How to display navigation data that guides users through Performing Data AccessBinding to Databases The GridView Control Is a new data-bound control in ASP.NET 2.0 for render a tabular grid format Supports many features (binding, sorting, paging, editi The SqlDataSource Control Is a data source control that represents a connection to ADO.NET SQL database provider Self-describing about its capabilities (select, insert, upd sort) Data queries are specified directly as properties of the d control Usually use in small application Validating Form Input ControlMany controls allow validate input forms RequiredFieldValidator, RangeValidator, RegularExpressionValidator, CompareValidator, CustomValidator, ValidationSummary New features: Validation Groups, SetFocusOnError Styles, Themes, SkinsStyles Apply style by using CSS (HTML Control) or by usin attributes (Web Control)Themes and Skins Theme Theme defines the style settings for controls and pag separately from the pages of your application CSS file stores style settings for HTML Control, skin style setting for Web Control In practice, Theme is folder that contains css file, ski image file Apply theme by setting directory Theme, apply skin skin property MasterPageMaster and Content Pages Master Page is a page which contains ContentPlaceH control ContentPlaceHolder defines a region of the master p rendering that can be substituted with content from associated to the master Content Page declare Content controls that specifica override content placeholder sections in the Master Apply Master Page by using the Master property of SiteMapSite Navigator Data The navigation structures are represented in .sitema sitemap file is a XML file, in which a element contain Title and Description of a pageSiteSite Navigator Control SiteMapPath: enables the users to navigate back to o in the hierarchy TreeView: provides the vertical user interface to exp collapse selected nodes on a web page Menu: Provides a horizontal or vertical user interfac pops-out additional sub-menus when a user hovers item ASPX Life CycleObject InitializationLoad Viewstate DataLoadPostData Processes Postback DataObject LoadRaiseRaise PostBack Change EventProcess Client-Side PostBack EventPrerender the ObjectsViewState SavedRender To HTMLDisposal Object InitializationFired after the pages control tree has beensuccessfully created The control declared in the .aspx file will be initialize default values Can use event to initialize some of the settings Handle by OnInit() method Load Viewstate DataViewstate Is a collection of name/value pairs Store information (state) of control and pageLoadViewstate event Initialized Initialized controls receive their properties: the infor that was persisted back to the server on the last subm Override LoadViewstate() method to customize received by the control at the time it is populated LoadPostData Processes PostbackPostBack Term mean data posted to server IPostBackDataHandler interface will implemented o control that submitted data ASP.NET update the control state with the correct p data, by matching the controls unique ID with the n pair in the NameValueCollection Object LoadControl Tree Objects arranged in the page DOM Retrieve the client-side properties set in the HTML Code logic is executed Handle by override OnLoad() method Raise PostBack Change EventRaisePostDataChanged event Occurs after all controls that implement the IPostBackDataHandler interface have been updated correct postback data Each control is flagged with a Boolean on whether it actually changed or remains the same since the prev submit Fire after all controls are updated and after the Load occurred Process Client-Side PostBack EveRaisePostBackEvent The object which caused the postback is handled Typical by control that posted the page back to the s to a state change (with autopostback enabled) or a fo submit button that ...
Tìm kiếm theo từ khóa liên quan:
kỹ thuật lập trình giáo trình kỹ thuật lập trình bài tập kỹ thuật lập trình tài liệu kỹ thuật lập trình chuyên ngành kỹ thuật lập trìnhGợi ý tài liệu liên quan:
-
Kỹ thuật lập trình trên Visual Basic 2005
148 trang 253 0 0 -
NGÂN HÀNG CÂU HỎI TRẮC NGHIỆM THIẾT KẾ WEB
8 trang 194 0 0 -
Giới thiệu môn học Ngôn ngữ lập trình C++
5 trang 184 0 0 -
Bài giảng Nhập môn về lập trình - Chương 1: Giới thiệu về máy tính và lập trình
30 trang 152 0 0 -
Luận văn: Nghiên cứu kỹ thuật giấu tin trong ảnh Gif
33 trang 150 0 0 -
Báo cáo thực tập Công nghệ thông tin: Lập trình game trên Unity
27 trang 117 0 0 -
Giáo trình về phân tích thiết kế hệ thống thông tin
113 trang 114 0 0 -
LUẬN VĂN: Tìm hiểu kỹ thuật tạo bóng cứng trong đồ họa 3D
41 trang 104 0 0 -
Bài giảng Kỹ thuật lập trình - Chương 10: Tổng kết môn học (Trường Đại học Bách khoa Hà Nội)
67 trang 103 0 0 -
Giáo trình Nhập môn lập trình VB6: Phần 2
184 trang 84 0 0