Ventsislav Popov Crossroad Ltd.. 1. What is AJAX?  AJAX Concept  ASP.NET AJAX Framework 2. ASP.NET AJAX Server Controls  ScriptManager, UpdatePanel.

Slides:



Advertisements
Similar presentations
Module 1: Creating Responsive Pages with Ajax Creating Partial-Page Updates by Using AJAX Scripting Actions on the Web Client.
Advertisements

AJAX Development By Gary Mandela December 26,
ASP.NET Ajax Supplementary Tutorial. Why Use ASP.NET AJAX? - I ASP.NET AJAX enables you to build rich Web applications that have many advantages over.
AJAX Development Mike Ormond Developer & Platform Group Microsoft Ltd
By Gyan Deo Singh Building Rich Web UI with the Microsoft AJAX Library, Extensions, and Toolkit.
6/3/2015eBiquity1 Tutorial on AJAX Anubhav Kale (akale1 AT cs DOT umbc DOT edu)
ACTIVE X By Ethan Huang. OUTLINE What is ActiveX? Component of ActiveX Why ActiveX? ActiveX and Java Security Issue.
AJAX & By – Anupama Sharma. Defining Ajax Ajax isn’t a technology. It’s really several technologies, each flourishing in its own right, coming together.
Microsoft ASP.NET AJAX - AJAX as it has to be Presented by : Rana Vijayasimha Nalla CSCE Grad Student.
Dynamic Web Pages Bert Wachsmuth. Review  Internet, IP addresses, ports, client-server, http, smtp  HTML, XHTML, XML  Style Sheets, external, internal,
Performed by:Gidi Getter Svetlana Klinovsky Supervised by:Viktor Kulikov 08/03/2009.
Does Ajax suck? CS575 Spring 2007 Chanwit Suebsureekul.
It’s always better live. MSDN Events Developing ASP.NET AJAX Controls with Silverlight.
The Microsoft Technical Roadshow 2006 A Web-enabled Experience with Altas Mike Ormond Developer & Platform Evangelism Group, Microsoft Ltd
ITM352 Javascript and Dynamic Web Pages: Client Side Processing.
It’s World Wide! I NTRODUCTION TO T HE WEB 1 Photo courtesy:
Web Design Basic Concepts.
Christopher M. Pascucci Basic Structural Concepts of.NET Browser – Server Interaction.
ASP.NET AJAX. Content ASP.NET AJAX Ajax Control Toolkit Muzaffer DOĞAN - Anadolu University2.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
JavaScript & jQuery the missing manual Chapter 11
May 16 – 18, 2007 Copyright 2007, Data Access Worldwide May 16 – 18, 2007 Copyright 2007, Data Access Worldwide Build Great Web Application 'Fast and Easy'
Ruth Betcher Ruth Christie
CSCI 6962: Server-side Design and Programming Introduction to AJAX.
ASP.NET + Ajax Jesper Tørresø ITNET2 F08. Ajax Ajax (Asynchronous JavaScript and XML) A group of interrelated web development techniques used for creating.
Building rich web applications with the ‘Atlas’ framework Mike Ormond Developer & Platform Evangelism Group, Microsoft Ltd Developer & Platform Evangelism.
 2008 Pearson Education, Inc. All rights reserved Ajax-Enabled Rich Internet Applications.
ASP.NET AJAX 1. Ordinary web applications vs. AJAX Ordinary web application The full page is updated at each request The page is not available while being.
AJAX Without the “J” George Lawniczak. What is Ajax?
Web Programming: Client/Server Applications Server sends the web pages to the client. –built into Visual Studio for development purposes Client displays.
AJAX and Atlas in ASP.NET 2.0 William J. Steele MSDN Developer Evangelist Microsoft Corporation
Ajax. –Asynchronous JavaScript and XML –Umbrella term for technologies that often: Use client-side scripting for layout and formatting Use less than full.
Web Applications meets Life Microsoft ASP.NET “Atlas” Saurabh Verma Chief Software Architect | The Perfect Future
CSCI 6962: Server-side Design and Programming AJAX Tools in JSF and ASP.
ASP.NET 2.0 : Future Directions Developing Rich Web Applications with “Atlas” 7 & 8 March 2006 ICC Gent Contact me :
Random Logic l Forum.NET l AJAX Behind the buzz word Forum.NET ● January 23, 2006.
Joe Hummel, PhD Dept of Mathematics and Computer Science Lake Forest College
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
Building Rich Web Applications with Ajax Linda Dailey Paulson IEEE – Computer, October 05 (Vol.38, No.10) Presented by Jingming Zhang.
WebSphere Portal Technical Conference U.S Creating Rich Internet (AJAX) Applications with WebSphere Portlet Factory.
Database Handling, Sessions, and AJAX. Post Back ASP.NET Functionality The IsPostBack method in ASP.NET is similar to the BlackBerry.refresh method –IsPostBack.
Telerik Software Academy ASP.NET Web Forms Telerik Software Academy ASP.NET Web Forms.
Lecture 9: AJAX, Javascript review..  AJAX  Synchronous vs. asynchronous browsing.  Refreshing only “part of a page” from a URL.  Frameworks: Prototype,
AJAX Compiled from “AJAX Programming” [Sang Shin] (Asynchronous JavaScript and XML)
Developing ASP.NET AJAX Controls with Silverlight Barry Gervin Microsoft Regional Director John Bristowe Developer Advisor, Microsoft.
Ajax. –Asynchronous JavaScript and XML –Umbrella term for technologies that often: Use client-side scripting for layout and formatting Use less than full.
Microsoft ASP.NET Beginning Object-Oriented Web Design Bryan Jenks © Integrated Ideas 2005.
RIA and Web2.0 Development with no Coding Juan Camilo Ruiz Senior Product Manager Development Tools.
Chapter 16: Ajax-Enabled Rich Internet Applications with XML and JSON TP2543 Web Programming Mohammad Faidzul Nasrudin.
Building AJAX-Enabled Applications with ASP.NET AJAX Framework Peter Ty Developer Evangelist Microsoft Hong Kong
INT222 - Internet Fundamentals Shi, Yue (Sunny) Office: T2095 SENECA COLLEGE.
IT533 Lectures ASP.NET AJAX.
Event Handling & AJAX IT210 Web Systems. Question How do we enable users to dynamically interact with a website? Answer: Use mouse and keyboard to trigger.
Web Technology (NCS-504) Prepared By Mr. Abhishek Kesharwani Assistant Professor,UCER Naini,Allahabad.
1 CS 3870/CS 5870: Note 19 AJAX Prog8. Test 2 50 Points Thursday, Nov 12 2:00 PM – 4:00 PM Lab
Name Title Microsoft Corporation
1 Introducing Web Developer Tools Rapid application development tools ASP.NET-compatible web editors –Visual Studio.NET Professional Edition –Visual Studio.
Open Solutions for a Changing World™ Eddy Kleinjan Copyright 2005, Data Access WordwideNew Techniques for Building Web Applications June 6-9, 2005 Key.
The Microsoft Technical Roadshow 2007 AJAX Development Mike Ormond Developer & Platform Group Microsoft Ltd
ASP.NET AJAX Fedorov Sergey, student of Computing Mathematic and Cybernetics faculty, software department, NNGU
Building rich web applications with ASP.NET AJAX Mike Ormond Developer & Platform Evangelism Group, Microsoft Ltd Developer & Platform Evangelism Group,
ASP.NET AJAX – Basics Svetlin Nakov Telerik Corporation
Working with Client-Side Scripting
CS 3870/CS 5870 AJAX Prog8.
Asynchronous Java script And XML Technology
ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft Ltd
By Gary Mandela December 26, 2006
AJAX.
Jim Fawcett CSE686 – Internet Programming Summer 2008
ASP.NET Module Subtitle.
Presentation transcript:

Ventsislav Popov Crossroad Ltd.

1. What is AJAX?  AJAX Concept  ASP.NET AJAX Framework 2. ASP.NET AJAX Server Controls  ScriptManager, UpdatePanel  Timer, Update Progress  Triggers 3. ASP.NET AJAX Control Toolkit 2

 AJAX = A synchronous J avaScript A nd X ML  Allows updating parts of a Web page at runtime  Approach for developing dynamic Web sites  Not a particular technology  There are over 50 AJAX frameworks  ts/round_up_of_50_ajax_toolkits_and_frameworks ts/round_up_of_50_ajax_toolkits_and_frameworks ts/round_up_of_50_ajax_toolkits_and_frameworks  ASP.NET AJAX is Microsoft’s AJAX framework  Part of ASP.NET and.NET Framework  Supported by Visual Studio 4

 AJAX enables you to pass information between a Web browser and Web server without refreshing the entire Web page  Done by asynchronous JavaScript HTTP requests and dynamic page updates 5 Data (HTML / JSON / XML / …) ServerClient Web Browser HTTP

 DHTML + DOM  Browser DOM manipulated through JavaScript  Used to dynamically display and interact with the page contents  CSS stylesheets for formatting  XMLHttpRequest object  Exchange data asynchronously with the Web server through asynchronous HTTP requests  Any data format could be used: HTML fragments, text fragments, XML, JSON, etc. 6

 ASP.NET AJAX is AJAX development framework from Microsoft  Standard part of.NET Framework  Allows quickly creating highly interactive Web applications, easy-to-use, highly productive  Supports both popular approaches:  Server-centric (partial page rendering)  Client-centric (client-side control rendering)  Works on all modern browsers: Internet Explorer, Firefox, Safari, Chrome, Opera 7

ASP.NET AJAX Server Extensions AJAX Server Controls App Services Bridge Asynchronous Communication Server FrameworkClient Framework and Services AJAX Client Script Library Controls, Components Script Core Library Base Class Library Component Model and UI Framework Browser Compatibility ASP.NET 4.0 Application Services Page Framework, Server Controls AJAX-enabled ASP.NET Pages Web Services (ASMX or WCF) XHTML, CSS, JavaScript,AJAXMarkup 8

 ASP.NET AJAX Server Controls allow easily build rich experience with ASP.NET  Application UI and core logic still run on server  Avoid need to master the JavaScript and asynchronous programming  Use AJAX techniques to reduce full round trips  Enable incremental page UI updates  Examples: data navigation and editing, form validation, auto refresh, auto-complete, etc. 10

 control  Manages:  AJAX components  Partial page rendering  Client requests and server responses on ASP.NET server pages.  Only one manager control per.aspx page  Automates the JavaScript callbacks  Required once in the page to enable AJAX 11

 control  Easily define "updatable" regions of a page  Implements the server-side AJAX approach (partial page rendering)  Server roundtrips become asynchronous 12 </asp:UpdatePanel>

Live Demo

 UpdatePanel.UpdateMode property:  UpdateMode = Always (default)  Updates the panel for all postbacks that originate from the page (synchronous and asynchronous)  UpdateMode = Conditional  Updates the panel when something inside it is changed (by default ChildrenAsTrigger=True )  Or by calling Update() method explicitly  Or by triggers defined in the update panel 14

 Triggers cause update of the UpdatePanel ’s content on particular event  Can be controls inside or outside the panel 15 <asp:UpdatePanel ID="UpdatePanelWithTriggers" runat="server" UpdateMode="Conditional"> runat="server" UpdateMode="Conditional"> <asp:AsyncPostBackTrigger <asp:AsyncPostBackTrigger ControlID="TimerDemo" EventName="Tick" /> ControlID="TimerDemo" EventName="Tick" /> </asp:UpdatePanel>

 control  Added as a trigger of an update panel  Refreshes panel when timer interval expires 16 </asp:Timer>

Live Demo

 control  Shows status while an asynchronous postback is in progress  Button to cancel the request can be added 18 <asp:UpdateProgress ID="UpdateProgressDemo" runat="server"> runat="server"> Updating... Updating... </asp:UpdateProgress>

Live Demo

 Collection of AJAX components  Ready-to-go samples  Comes with full source code and documentation  SDK to simplify the creation and re-use custom AJAX-enabled ASP.NET controls  Some controls:  CascadingDropDown  Link drop-downs, with asynchronous population and no postbacks 21

 CollaspiblePanel  Panels that collapse and expand without postbacks  ConfirmButton : extender adding a confirm dialog to any Button, LinkButton, or ImageButton control  DragPanel : makes any panel into an object that you can drag around the page  ModalPopup : shows a modal popup dialog  Home Page:

Live Demo

Questions? 24