SlideShare a Scribd company logo
Talal A. Alsubaie S audi  F ood and  D rugs  A uthority IT Sector Programmer
 
What is AJAX? Talal Alsubaie,  AJAX & ASP.net 2.0
What does AJAX stands for? A synchronous J avaScript A nd X ML Talal Alsubaie,  AJAX & ASP.net 2.0
What is AJAX ? AJAX is a development technique for creating interactive web applications. The intent is to make web pages feel more responsive by  exchanging small amounts of data  with the server  behind the scenes , so that  the entire web page does not have to be reloaded  each time the user requests a change. This is intended to increase the web page's  interactivity ,  speed , and  usability .  Talal Alsubaie,  AJAX & ASP.net 2.0
What is AJAX ? It is a  technique   NOT  a technology. Components: Cascading Style Sheets (CSS). Presenting information. Document Object Model (DOM). Dynamic display and interaction with information. XMLHttpRequest. Retrieving data asynchronously from the web server. JavaScript. Binding everything together. Talal Alsubaie,  AJAX & ASP.net 2.0
How does it work? Classic Web Model Browser interacts directly with Web Server. Each Request Causes Page Refresh. Synchronous. Refresh Looses Place on Page. Talal Alsubaie,  AJAX & ASP.net 2.0
How does it work? Ajax Application Model: Browser interacts with Ajax Engine. Ajax Engine communicates with Web Server Asynchronous Page manipulated by Ajax Engine (no refresh) Talal Alsubaie,  AJAX & ASP.net 2.0
Who Uses AJAX? Google Maps, iGoogle & Gmail Yahoo! MyYahoo! & Yahoo!Mail (beta) And Many Others… Talal Alsubaie,  AJAX & ASP.net 2.0
AJAX Concerns Talal Alsubaie,  AJAX & ASP.net 2.0 Security Browser Compatibility Accessibility The Back Button What if JavaScript is Turned Off?
AJAX and the Back Button Huge usability issue. Returning to the previous state may not be possible when a page is updated dynamically. Difficult to bookmark on a particular page state. Talal Alsubaie,  AJAX & ASP.net 2.0
 
AJAX Advantages: Increased Client Interaction Gives users more of the expected behavior of a client/server application rather than a classic web page Performance –only a portion of the page is refreshed Less bandwidth usage. Platform Independent ( sort of ) Uses the browser, but relies on JavaScript Talal Alsubaie,  AJAX & ASP.net 2.0
 
Installing Ajax Microsoft first presented AJAX as a project named “ATLAS”( beta ). The official release has been presented as “ ASP.net AJAX .” It only supports ASP.net 2.0. There are some tools used to perform AJAX over ASP.net 1.0 and 1.1. Talal Alsubaie,  AJAX & ASP.net 2.0
Installing Ajax Navigate to  http://www.asp.net Click on AJAX tab . Talal Alsubaie,  AJAX & ASP.net 2.0
Installing Ajax Click on Downloads Talal Alsubaie,  AJAX & ASP.net 2.0
Installing Ajax Click  Download  ASP.NET AJAX v1.0 Talal Alsubaie,  AJAX & ASP.net 2.0
Installing Ajax Now save the file to you local disk, run the file, click next until you finish installation. Click Finish Button at the end. Talal Alsubaie,  AJAX & ASP.net 2.0
Installing Ajax Now go to visual Studio 2005. Create a new Web Site. You can see the ASP.NET AJAX-Enabled Web Site template. Talal Alsubaie,  AJAX & ASP.net 2.0
Installing Ajax You can see in the Web Page the ScriptManager Component. And there is an AJAX Extensions panel in the toolbox area. Not that the ScriptManager must be included in every page that is using AJAX. Talal Alsubaie,  AJAX & ASP.net 2.0
 
Developing in AJAX Open Visual Studio.NET 2005. Select File -> New -> Website. Talal Alsubaie,  AJAX & ASP.net 2.0
Developing in AJAX Select ASP.net AJAX-Enabled Website. Click OK after selecting a name for your website and selecting your preferred .NET language. On the “default.aspx”  page, switch to Design mode as shown in figure below: Talal Alsubaie,  AJAX & ASP.net 2.0
Developing in AJAX As we learned before, we must have only  one   ScriptManager  in each page that is using AJAX. We can put the  ScriptManager  in a  master  page and it will apply to all of its child pages. Updates will occurs in the “ Updatepanel ” component. A page can have more then one “ Updatepanel ”. Talal Alsubaie,  AJAX & ASP.net 2.0
 
 
AJAX ASP.net Control Toolkit The ASP.NET AJAX Control Toolkit is a shared-source community project consisting of samples and components that make it easier to work with AJAX-enabled controls and extenders.  The Control Toolkit provides both ready-to-run samples and a powerful SDK to simplify creating custom ASP.NET AJAX controls and extenders.  Make sure you install ASP.NET AJAX 1.0 first! Talal Alsubaie,  AJAX & ASP.net 2.0
 
Installing AJAX ASP.net Control Toolkit Talal Alsubaie,  AJAX & ASP.net 2.0 Navigate to  http://www.asp.net Click on AJAX tab . Talal Alsubaie,  AJAX & ASP.net 2.0
Installing AJAX ASP.net Control Toolkit Click on Downloads Talal Alsubaie,  AJAX & ASP.net 2.0
Installing AJAX ASP.net Control Toolkit Click “ Download  the Control Toolkit.” Talal Alsubaie,  AJAX & ASP.net 2.0
Installing AJAX ASP.net Control Toolkit It will take you to the CodePlex site, that is Microsoft open source tools. Click on download with no source code. Click on the I Agree Button. Talal Alsubaie,  AJAX & ASP.net 2.0
Installing AJAX ASP.net Control Toolkit Download the “ AjaxControlToolkit-NoSource.zip”  file. Unzip the file to this location:  “ C:\Program Files\Microsoft ASP.NET\ ” Open Visual Studio.net 2005, Create a new AJAX-Enabled Website. Under the “AJAX Extensions” tab right click and select  Add tab , and enter it name as “AJAX Toolkit”. Right click the “AJAX Toolkit” tab and select “Choose Items…” Under the “.NET Framework Component” click “Brows…”. Select the file “AjaxControlToolkit.dll” located in: “ C:\Program Files\Microsoft ASP.NET\AjaxControlToolkit-NoSource\SampleWebSite\Bin ” Click OK. Talal Alsubaie,  AJAX & ASP.net 2.0
Installing AJAX ASP.net Control Toolkit You can see that there are new controls in the “AJAX Toolkit” tab. You can find more information about AJAX Toolkit at:   http://ajax.asp.net/downloads/ Talal Alsubaie,  AJAX & ASP.net 2.0
 
 
 

More Related Content

PPT
ASP.NET AJAX Basics
PPT
ASP.NET AJAX with Visual Studio 2008
PPT
Introduction To Asp.Net Ajax
PPTX
Ajax and ASP.NET AJAX
PPTX
Ajax control asp.net
PDF
ASP.NET Overview - Alvin Lau
PPT
ASP.NET 4.0 Roadmap
PPTX
Harish Understanding Aspnet
ASP.NET AJAX Basics
ASP.NET AJAX with Visual Studio 2008
Introduction To Asp.Net Ajax
Ajax and ASP.NET AJAX
Ajax control asp.net
ASP.NET Overview - Alvin Lau
ASP.NET 4.0 Roadmap
Harish Understanding Aspnet

What's hot (20)

PPTX
PPTX
ASP.NET Lecture 1
PPTX
Walther Ajax4
PPTX
Walther Aspnet4
PDF
AJAX in ASP.NET
PPTX
Usability AJAX and other ASP.NET Features
PPTX
New microsoft office power point presentation
PPTX
ASP.NET MVC and ajax
PPTX
ASP .NET MVC
PDF
Esri Dev Summit 2009 Rest and Mvc Final
PPTX
Ajax technology
PPTX
Introduction to ASP.NET MVC
PPTX
Harish Aspnet Deployment
PDF
Ajax basics
PPTX
New Features of ASP.NET 4.0
PPTX
ASP.NET Page Life Cycle
PPT
ASP .net MVC
PPTX
Asp.net mvc presentation by Nitin Sawant
PPTX
Angular on ASP.NET MVC 6
ASP.NET Lecture 1
Walther Ajax4
Walther Aspnet4
AJAX in ASP.NET
Usability AJAX and other ASP.NET Features
New microsoft office power point presentation
ASP.NET MVC and ajax
ASP .NET MVC
Esri Dev Summit 2009 Rest and Mvc Final
Ajax technology
Introduction to ASP.NET MVC
Harish Aspnet Deployment
Ajax basics
New Features of ASP.NET 4.0
ASP.NET Page Life Cycle
ASP .net MVC
Asp.net mvc presentation by Nitin Sawant
Angular on ASP.NET MVC 6
Ad

Viewers also liked (20)

PPTX
Ajax ppt - 32 slides
PDF
Webformer: a Rapid Application Development Toolkit for Writing Ajax Web Form ...
PDF
TYCS Ajax practicals sem VI
PPT
2310 b 09
PDF
PPTX
Introduction To Silverlight and Prism
PPTX
Java swing
ODP
Nosql availability & integrity
PPT
2310 b 11
PPT
01 Ajax Intro
PPT
Perl Development
PPT
Forms authentication
PPT
Oid structure
PDF
5 Key Components of Genrocket
PPT
Oracle 10g Application Server
PPT
Itp 120 Chapt 19 2009 Binary Input & Output
PDF
PPT
jQuery introduction
PPT
Csc153 chapter 02
 
Ajax ppt - 32 slides
Webformer: a Rapid Application Development Toolkit for Writing Ajax Web Form ...
TYCS Ajax practicals sem VI
2310 b 09
Introduction To Silverlight and Prism
Java swing
Nosql availability & integrity
2310 b 11
01 Ajax Intro
Perl Development
Forms authentication
Oid structure
5 Key Components of Genrocket
Oracle 10g Application Server
Itp 120 Chapt 19 2009 Binary Input & Output
jQuery introduction
Csc153 chapter 02
 
Ad

Similar to Ajax & ASP.NET 2 (20)

PPT
Ajaxppt
PPT
Ajax: User Experience
PPT
SynapseIndia asp.net2.0 ajax Development
PPS
Web 2.0 Mimbar Ilmiah
PPT
Asp.Net Ajax Component Development
PPTX
Introduction to ajax
PPT
Learn ASP.NET AJAX in 5 Minutes
PPTX
AJAX Patterns with ASP.NET
PPT
Advantages and disadvantages of an ajax based client application
PPT
Synapseindia dot net development web applications with ajax
PPTX
High-Speed Development with the AJAX Control Toolkit
PPTX
Creating Dynamic Web Application Using ASP.Net 3 5_MVP Alezandra Buencamino N...
PPTX
AJAX Introduction [Autosaved].pptx
PPTX
PPT
Atlas Ajax Experience
PPT
Ajax Presentation
PDF
Integrating ASP.NET AJAX with SharePoint
PPTX
Introduction to ajax
PPTX
PDF
Cutting the Fat
Ajaxppt
Ajax: User Experience
SynapseIndia asp.net2.0 ajax Development
Web 2.0 Mimbar Ilmiah
Asp.Net Ajax Component Development
Introduction to ajax
Learn ASP.NET AJAX in 5 Minutes
AJAX Patterns with ASP.NET
Advantages and disadvantages of an ajax based client application
Synapseindia dot net development web applications with ajax
High-Speed Development with the AJAX Control Toolkit
Creating Dynamic Web Application Using ASP.Net 3 5_MVP Alezandra Buencamino N...
AJAX Introduction [Autosaved].pptx
Atlas Ajax Experience
Ajax Presentation
Integrating ASP.NET AJAX with SharePoint
Introduction to ajax
Cutting the Fat

More from Talal Alsubaie (10)

PDF
Exploratory Data Analysis
PDF
هل نحتاج لإجراءات العمل Do we need BPM
PDF
9 عوامل تفشل مشاريع توثيق الإجراءات
PPTX
Cloud Computing
PPT
Similarity Search For Web Services
PPT
Pattern Recognition
PPT
Bracket Capability For Distributed Systems Security
PPT
Selected Topics ASP.NET2
PPT
Emerging DB Technologies
Exploratory Data Analysis
هل نحتاج لإجراءات العمل Do we need BPM
9 عوامل تفشل مشاريع توثيق الإجراءات
Cloud Computing
Similarity Search For Web Services
Pattern Recognition
Bracket Capability For Distributed Systems Security
Selected Topics ASP.NET2
Emerging DB Technologies

Recently uploaded (20)

PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
cuic standard and advanced reporting.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Electronic commerce courselecture one. Pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPT
Teaching material agriculture food technology
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Getting Started with Data Integration: FME Form 101
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Encapsulation theory and applications.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
1. Introduction to Computer Programming.pptx
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Programs and apps: productivity, graphics, security and other tools
Digital-Transformation-Roadmap-for-Companies.pptx
SOPHOS-XG Firewall Administrator PPT.pptx
cuic standard and advanced reporting.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Electronic commerce courselecture one. Pdf
MIND Revenue Release Quarter 2 2025 Press Release
Teaching material agriculture food technology
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Getting Started with Data Integration: FME Form 101
The Rise and Fall of 3GPP – Time for a Sabbatical?
Encapsulation theory and applications.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
1. Introduction to Computer Programming.pptx
Empathic Computing: Creating Shared Understanding
Group 1 Presentation -Planning and Decision Making .pptx
Building Integrated photovoltaic BIPV_UPV.pdf

Ajax & ASP.NET 2

  • 1. Talal A. Alsubaie S audi F ood and D rugs A uthority IT Sector Programmer
  • 2.  
  • 3. What is AJAX? Talal Alsubaie, AJAX & ASP.net 2.0
  • 4. What does AJAX stands for? A synchronous J avaScript A nd X ML Talal Alsubaie, AJAX & ASP.net 2.0
  • 5. What is AJAX ? AJAX is a development technique for creating interactive web applications. The intent is to make web pages feel more responsive by exchanging small amounts of data with the server behind the scenes , so that the entire web page does not have to be reloaded each time the user requests a change. This is intended to increase the web page's interactivity , speed , and usability . Talal Alsubaie, AJAX & ASP.net 2.0
  • 6. What is AJAX ? It is a technique NOT a technology. Components: Cascading Style Sheets (CSS). Presenting information. Document Object Model (DOM). Dynamic display and interaction with information. XMLHttpRequest. Retrieving data asynchronously from the web server. JavaScript. Binding everything together. Talal Alsubaie, AJAX & ASP.net 2.0
  • 7. How does it work? Classic Web Model Browser interacts directly with Web Server. Each Request Causes Page Refresh. Synchronous. Refresh Looses Place on Page. Talal Alsubaie, AJAX & ASP.net 2.0
  • 8. How does it work? Ajax Application Model: Browser interacts with Ajax Engine. Ajax Engine communicates with Web Server Asynchronous Page manipulated by Ajax Engine (no refresh) Talal Alsubaie, AJAX & ASP.net 2.0
  • 9. Who Uses AJAX? Google Maps, iGoogle & Gmail Yahoo! MyYahoo! & Yahoo!Mail (beta) And Many Others… Talal Alsubaie, AJAX & ASP.net 2.0
  • 10. AJAX Concerns Talal Alsubaie, AJAX & ASP.net 2.0 Security Browser Compatibility Accessibility The Back Button What if JavaScript is Turned Off?
  • 11. AJAX and the Back Button Huge usability issue. Returning to the previous state may not be possible when a page is updated dynamically. Difficult to bookmark on a particular page state. Talal Alsubaie, AJAX & ASP.net 2.0
  • 12.  
  • 13. AJAX Advantages: Increased Client Interaction Gives users more of the expected behavior of a client/server application rather than a classic web page Performance –only a portion of the page is refreshed Less bandwidth usage. Platform Independent ( sort of ) Uses the browser, but relies on JavaScript Talal Alsubaie, AJAX & ASP.net 2.0
  • 14.  
  • 15. Installing Ajax Microsoft first presented AJAX as a project named “ATLAS”( beta ). The official release has been presented as “ ASP.net AJAX .” It only supports ASP.net 2.0. There are some tools used to perform AJAX over ASP.net 1.0 and 1.1. Talal Alsubaie, AJAX & ASP.net 2.0
  • 16. Installing Ajax Navigate to http://www.asp.net Click on AJAX tab . Talal Alsubaie, AJAX & ASP.net 2.0
  • 17. Installing Ajax Click on Downloads Talal Alsubaie, AJAX & ASP.net 2.0
  • 18. Installing Ajax Click Download ASP.NET AJAX v1.0 Talal Alsubaie, AJAX & ASP.net 2.0
  • 19. Installing Ajax Now save the file to you local disk, run the file, click next until you finish installation. Click Finish Button at the end. Talal Alsubaie, AJAX & ASP.net 2.0
  • 20. Installing Ajax Now go to visual Studio 2005. Create a new Web Site. You can see the ASP.NET AJAX-Enabled Web Site template. Talal Alsubaie, AJAX & ASP.net 2.0
  • 21. Installing Ajax You can see in the Web Page the ScriptManager Component. And there is an AJAX Extensions panel in the toolbox area. Not that the ScriptManager must be included in every page that is using AJAX. Talal Alsubaie, AJAX & ASP.net 2.0
  • 22.  
  • 23. Developing in AJAX Open Visual Studio.NET 2005. Select File -> New -> Website. Talal Alsubaie, AJAX & ASP.net 2.0
  • 24. Developing in AJAX Select ASP.net AJAX-Enabled Website. Click OK after selecting a name for your website and selecting your preferred .NET language. On the “default.aspx” page, switch to Design mode as shown in figure below: Talal Alsubaie, AJAX & ASP.net 2.0
  • 25. Developing in AJAX As we learned before, we must have only one ScriptManager in each page that is using AJAX. We can put the ScriptManager in a master page and it will apply to all of its child pages. Updates will occurs in the “ Updatepanel ” component. A page can have more then one “ Updatepanel ”. Talal Alsubaie, AJAX & ASP.net 2.0
  • 26.  
  • 27.  
  • 28. AJAX ASP.net Control Toolkit The ASP.NET AJAX Control Toolkit is a shared-source community project consisting of samples and components that make it easier to work with AJAX-enabled controls and extenders. The Control Toolkit provides both ready-to-run samples and a powerful SDK to simplify creating custom ASP.NET AJAX controls and extenders. Make sure you install ASP.NET AJAX 1.0 first! Talal Alsubaie, AJAX & ASP.net 2.0
  • 29.  
  • 30. Installing AJAX ASP.net Control Toolkit Talal Alsubaie, AJAX & ASP.net 2.0 Navigate to http://www.asp.net Click on AJAX tab . Talal Alsubaie, AJAX & ASP.net 2.0
  • 31. Installing AJAX ASP.net Control Toolkit Click on Downloads Talal Alsubaie, AJAX & ASP.net 2.0
  • 32. Installing AJAX ASP.net Control Toolkit Click “ Download the Control Toolkit.” Talal Alsubaie, AJAX & ASP.net 2.0
  • 33. Installing AJAX ASP.net Control Toolkit It will take you to the CodePlex site, that is Microsoft open source tools. Click on download with no source code. Click on the I Agree Button. Talal Alsubaie, AJAX & ASP.net 2.0
  • 34. Installing AJAX ASP.net Control Toolkit Download the “ AjaxControlToolkit-NoSource.zip” file. Unzip the file to this location: “ C:\Program Files\Microsoft ASP.NET\ ” Open Visual Studio.net 2005, Create a new AJAX-Enabled Website. Under the “AJAX Extensions” tab right click and select Add tab , and enter it name as “AJAX Toolkit”. Right click the “AJAX Toolkit” tab and select “Choose Items…” Under the “.NET Framework Component” click “Brows…”. Select the file “AjaxControlToolkit.dll” located in: “ C:\Program Files\Microsoft ASP.NET\AjaxControlToolkit-NoSource\SampleWebSite\Bin ” Click OK. Talal Alsubaie, AJAX & ASP.net 2.0
  • 35. Installing AJAX ASP.net Control Toolkit You can see that there are new controls in the “AJAX Toolkit” tab. You can find more information about AJAX Toolkit at: http://ajax.asp.net/downloads/ Talal Alsubaie, AJAX & ASP.net 2.0
  • 36.  
  • 37.  
  • 38.