1. Trang chủ
  2. » Công Nghệ Thông Tin

Advanced ASP.NET potx

30 219 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 30
Dung lượng 535,84 KB

Nội dung

Advanced ASP.NET Programming P R E S E N T E R : M R . D O A N Q U A N G M I N H Agenda  Some addition knowledge  Performing Data Access  Validating Form Input Control  Styles, Themes, Skins  MasterPage  MasterPage  SiteMap  ASPX Life Cycle  10 phases of ASPX Life Cycle  ASP.NET AJAX  Framework for apply Ajax style in web application Some addition knowledge  Performing Data Access  How to perform data binding  Validating Form Input Control  How to check input forms for errors and display messages to the user  Styles, Themes, Skins  Styles, Themes, Skins  How to customize the look-and-feel or style of pages and controls in your application  MasterPage  How to define common structure and interface elements for your site  SiteMap  How to display navigation data that guides users through a site Performing Data Access  Binding to Databases  The GridView Control  Is a new data-bound control in ASP.NET 2.0 for rendering data in a tabular grid format  Supports many features (binding, sorting, paging, editing,…)  The SqlDataSource Control  The SqlDataSource Control  Is a data source control that represents a connection to an ADO.NET SQL database provider  Self-describing about its capabilities (select, insert, update, delete, sort)  Data queries are specified directly as properties of the data source control  Usually use in small application Validating Form Input Control  Many controls allow validate input forms  RequiredFieldValidator, RangeValidator, RegularExpressionValidator, CompareValidator, CustomValidator, ValidationSummary  New features: Validation Groups, SetFocusOnError  New features: Validation Groups, SetFocusOnError Styles, Themes, Skins  Styles  Apply style by using CSS (HTML Control) or by using style attributes (Web Control)  Themes and Skins  Theme defines the style settings for controls and pages separately from the pages of your application Theme defines the style settings for controls and pages separately from the pages of your application  CSS file stores style settings for HTML Control, skin file stores style setting for Web Control  In practice, Theme is folder that contains css file, skin file and image file  Apply theme by setting directory Theme, apply skin by setting skin property MasterPage  Master and Content Pages  Master Page is a page which contains ContentPlaceHolder control  ContentPlaceHolder defines a region of the master page rendering that can be substituted with content from a page rendering that can be substituted with content from a page associated to the master  Content Page declare Content controls that specifically override content placeholder sections in the Master Page  Apply Master Page by using the Master property of the Page SiteMap  Site Navigator Data  The navigation structures are represented in .sitemap files  sitemap file is a XML file, in which a element contains Url, Title and Description of a page  Site Navigator Control Site Navigator Control  SiteMapPath: enables the users to navigate back to other pages in the hierarchy  TreeView: provides the vertical user interface to expand and collapse selected nodes on a web page  Menu: Provides a horizontal or vertical user interface that pops-out additional sub-menu's when a user hovers over an item [...]... transferring data between the server and client ASP.NET AJAX ASP.NET AJAX Is a free framework for quickly creating efficient and interactive Web applications that work across all popular browsers Is built-into ASP.NET 3.5 It is also available as a separate download for ASP.NET 2.0 ASP.NET AJAX Architecture ASP.NET AJAX server and client architecture ASP.NET AJAX Server Controls ScriptManager Manages... whole page, or use it together with the UpdatePanel control to perform partial-page updates at a defined interval ASP.NET AJAX Client Architecture Consist of JavaScript (.js) files that provide features for object-oriented development A browser compatibility layer ASP.NET AJAX core services An ASP.NET AJAX base class library A networking layer AjaxControlToolkit Provides a rich array of controls for building... the control at the time it is populated LoadPostData Processes Postback Data PostBack Term mean data posted to server IPostBackDataHandler interface will implemented on each control that submitted data ASP.NET update the control state with the correct postback data, by matching the control's unique ID with the name/value pair in the NameValueCollection Object Load Control Tree Objects arranged in the... they are reflected to the client only Disposal After the page's HTML is rendered, the objects are disposed of Used to release critical resources such as database connections, files, graphical objects etc ASP.NET AJAX AJAX (Asynchronous JavaScript and XML) A group of inter-related web development techniques used for creating interactive web applications Increased responsiveness and interactivity of web... library A networking layer AjaxControlToolkit Provides a rich array of controls for building interactive Web experiences easily Accordion Animation Calendar DragPanel MaskedEdit … and so more Reference www .asp.net www.msdn.com Some others resource on Internet . Control  Styles, Themes, Skins  MasterPage  MasterPage  SiteMap  ASPX Life Cycle  10 phases of ASPX Life Cycle  ASP. NET AJAX  Framework for apply Ajax style in web application Some addition. interface will implemented on each control that submitted data  ASP. NET update the control state with the correct postback  ASP. NET update the control state with the correct postback data, by. Advanced ASP. NET Programming P R E S E N T E R : M R . D O A N Q U A N G M I N H Agenda  Some addition

Ngày đăng: 12/07/2014, 13:20

TỪ KHÓA LIÊN QUAN

w