Asynchronous Javascript (AJAX) technology enables web applications to provide features like-
UpdatePanel has some important properties like-
- Partial Page Updates - Allows you to define an area of a webpage to postback and update independently from the rest of the page. Only the updated content is refreshed when the request completes
- Indicate Progress of an operation - This allows you to track progress of server-side process and continuously update the user.
- Desktop-like UI - With AJAX, you can provide users with controls such as modal dialog boxes, progress indicators, masked edit bixes, tooltips and more.
- Cross Browser, cross platform support - Javascript, AJAX and JQuery are all supported on multiple browsers and multiple platforms.
- Registration of custom scripts
- Registration of web service method calls from client
- When AJAX is used in a master page and also needed in content page
- When AJAX is used in custom or user controls
UpdatePanel has some important properties like-
- Update Mode - The update mode can be set to one of the following modes
- Always - If set to this mode the contents of the UpdatePanel is refreshed on every postback
- Conditional - If set to conditional the refresh takes place based on ChildrenAsTriggers property (described below), or through an explicit call to the Update method or if Parent panel is refreshed.
- ChildrenAsTriggers - In case of nested UpdatePanels any update to a child UpdatePanel will not refresh contents of the Parent UpdatePanel unless ChildrenAsTriggers property is set to true.
Comments
Post a Comment