300+ TOP AJAX Interview Questions and Answers

AJAX Interview Questions for freshers experienced :-

1. What is Ajax?

Ajax is abbreviated as Asynchronous Javascript and XML. It is new technique used to create better, faster and more interactive web systems or applications. Ajax uses asynchronous data transfer between the Browser and the web server.

This technique is used to make internet faster and user friendly. It is not a programming language.

2. What are Ajax applications?

Browser based applications and platform independent applications are used by Ajax.

3. How many types of triggers are present in update panel?

There are two types of triggers used in update panel:

PostBackTrigger – This works as full postback and it cannot work asynchronously
AsyncPostBackTrigger – Partial post back asynchronously

4. What are all the controls of Ajax?

Following are the controls of Ajax:

  1. ScriptManager
  2. ScriptManagerProxy
  3. UpdatePanel
  4. UpdateProgress
  5. Timer

5. What is the name of the DLL that contains Ajax control tool kit?

Ajaxcontroltoolkit.dll is the DLL used for Ajax control tool kit and it can be downloaded from the internet. It can be added in the tool box or copied directly in the bin folder.

6. What role of #&& in querystring?

# is treated as fragment delimiter to delimit the history state and && precedes is used to check on the information in the query string.

7. How to control the duration of an Ajax request?

AsyncPostBackTimeout property is used to control the duration of Ajax request. Deafult value of this property is 90 seconds.

Example –

<asp:ScriptManager runat=”server” id=”sample” AsyncPostBackTimeout=”40”/>

8. What are the advantages of Ajax?

Following are the advantages of Ajax:

  • Bandwidth utilization – It saves memory when the data is fetched from the same page.
  • More interactive
  • Speeder retrieval of data

9. What are the disadvantages of Ajax?

Following are the disadvantages of Ajax:

  • AJAX is dependent on Javascript. If there is some Javascript problem with the browser or in the OS, Ajax will not support
  • Ajax can be problematic in Search engines as it uses Javascript for most of its parts.
  • Source code written in AJAX is easily human readable. There will be some security issues in Ajax.
  • Debugging is difficult
  • Increases size of the requests
  • Slow and unreliable network connection.
  • Problem with browser back button when using AJAX enabled pages.

10. What is update panel?

Update panel is a server control used to update the specified portion of a web page. Script Manager needs to be used whenever update panel is used. Using update panel, user cannot handle outside controls.

AJAX Interview Questions
AJAX Interview Questions

11. Which are the two methods used for cross domain Ajax calls?

There are two methods used to transfer data between the two more more security domains:

CORS – Cross Origin Resource Sharing and it works with the HTTP web browsers
JSONP – JSON with Padding which works with the HTTP GET and on legacy browsers

12. What are all the technologies used by Ajax?

AJAX uses following technologies:

  • JavaScript
  • XMLHttpRequest
  • Document Object Model (DOM)
  • Extensible HTML (XHTML)
  • Cascading Style Sheets (CSS)

13. What are all the features of Ajax?

Following are the features of Ajax and they are as follows:

  • Live data binding
  • Client-side template rendering
  • Declarative instantiation of client components
  • Observer pattern on JavaScript objects and arrays
  • Invoking ADO.NET data services and data contexts
  • DataView control

14. What is JSON in Ajax?

JSON is abbreviated as JavaScript Object Notation.

JSON is a safe and reliable data interchange format in JavaScript, which is easy to understand for both users and machines.

15. What are the difference between AJAX and Javascript?

The differences between AJAX and JavaScript are as follows:

  1. AJAX sends request to the server and does not wait for the response. It performs other operations on the page during that time. Whereas, JavaScript makes a request to the server and waits for response.
  2. AJAX does not require the page to refresh for downloading the whole page, whereas JavaScript manages and controls a Web page after being downloaded.
  3. AJAX minimizes the overload on the server since the script needs to request once, while JavaScript posts a request that updates the script every time.
  4. AJAX is an approach towards page reloading, while JavaScript is a way to incorporate content on the webpage.
  5. AJAX allows the coder to send a request for data asynchronously in order to load new data without changing the web page.
  6. JavaScript allows the creation of dynamic webpages by providing a new level of interactivity.
  7. AJAX supports the server side scripting language, whereas JavaScript supports the client side scripting language.
  8. AJAX can load a webpage after it has been loaded for the first time. Whereas, JavaScript cannot reload the page after it is loaded.
  9. AJAX cannot be used to install a Trojan in the computer, while JavaScript can be used.

16. What are the components of the ASP.NET AJAX architecture?

There are two components of AJAX Architecture:

  1. AJAX client architecture
  2. AJAX server architecture

17. What are the extender controls?

The extender controls uses a block of JavaScript code to add new and enhanced capabilities to ASP.NET.

18. What is AJAX Control Extender Toolkit?

AJAX Control Toolkit is one of the extenders that are used to extend or add the functionalities of the ASP.NET controls. The extenders use a block of JavaScript code to add new and enhanced capabilities to the ASP.NET controls.

AJAX Control Extender Toolkit is a free download from site.

19. Where AJAX cannot be used?

Users cannot use AJAX if

  • If Page need to show in a search engine
  • If browser does not support JavaScript
  • If user wants to create secure application

20. What are the pre-requisites to execute AJAX applications on a server?

AJAX is a built-in functionality of .NET Framework 4.0 and AJAX application can be executed by just installing Microsoft Visual Studio 2010. To use extenders in your applications, you are required to install AJAX Control Toolkit and copy the AjaxControlToolkit.dll file to the Bin directory of your application.

21. What is AJAX Framework?

ASP.NET AJAX is a free framework to implement Ajax in asp.net web applications. It is used to quickly creating efficient and interactive Web applications that work across all browsers.

22. How can you find out that an AJAX request has been completed?

ReadyState property is used to check whether AJAX request has been completed. If the property is equal to four, then the request has been completed and data is available.

23. Is javascript knowledge is required to do Ajax?

Yes, if you plan to develop new AJAX functionality for your web application.

24. What are all the browsers support AJAX?

Following browsers support AJAX:

  • Internet Explorer 5.0 and above
  • Opera 7.6 and above
  • Netscape 7.1 and above
  • Safari 1.2 and above

25. How can you test the Ajax code?

JSUnit is the client side javascript code used as part of JUnit. JSUnit has been used for Ajax code.

26. Is Ajax said to be a technology platform or is it an architectural style?

Ajax supports both technology and as architectural style.

27. How can AJAX applications be debugged?

Two tools are used for debugging:

  • Fiddler for IE
  • Firebug for Mozilla.

28. How can we cancel the XMLHttpRequest in AJAX?

Abort() method can be called to cancel the XMLHttpRequest in Ajax.

29. Is AJAX code cross browser compatible?

No, it is supporting cross browser compatible. If the browsers supports native XMLHttpRequest JavaScript object, then this can be used.

30. What is the name of object used for AJAX request?

XmlHttpRequest object is used for Ajax requests.

31. What is prerequisite for Update Panel in Ajax?

Script Manager is pre-requisite to use Update Panel controls.

32. How many update panel can be used per page?

There are no restrictions on the number of update panels per page.

33. What is Script Manager?

Script Manager helps manage the client side script of AJAX. Script Manager acts as a mediator as AJAX depends on JavaScript. Every page that uses AJAX has a Script Manager to enable AJAX libraries.

34. How Ajax objects can be created?

Following syntax can be used to create Ajax objects:

Var sample = New ajaxObject(‘path of the page’)

35. What are the protocols used by Ajax?

  • HTTP’s GET or POST
  • XMLHttpRequest for placing a request with the web server
  • Uses JSON to communicate between the client and server
  • UED or URL encoded data

36. What are all the security issues of Ajax?

Security issues that can be encountered

When Ajax calls are sent through plain text and it may lead to know the database details
Inserting scripts can also be possible and attackers can easily penetrate into the system

37. How can we handle concurrent requests?

Javascript functions should be written to handle concurrent requests and call back function can be passed as a parameter. Those parameters are passed to AjaxInteraction(URL, callback) object.

38. Define the role of the Update Panel?

Update Panel is used to add functionality to the existing ASP.NET applications. By using partial page rendering, it can be used to update the content. Refresh can be made for the partial page instead of whole page.

39. Can we use nested update panel in Ajax?

Yes, we can use nested update panel in Ajax. Update panels can be nested to have more control over the Page Refresh.

40. What are the types of post back in Ajax?

There are two types of post backs:

  • Synchronous Postback
  • Asynchronous Postback

41. How can we handle exception handling in Ajax?

ErrorTemplate which is the child tag of Script Manager is used to handle exception handling in Ajax.

42. What are the components of the ASP.NET Ajax Client Library?

Following components are used in Ajax client library:

  • Component Layer
  • Core Services Layer
  • Browser Compatibility Layer

43. What are the controls of the Script Management group?

The controls of script Management group are:

  • ScriptManager
  • ScriptManagerProxy

44. What are all the different data types that JSON supports?

JSON supports following data types:

  • String
  • Number
  • Boolean
  • Array
  • Object
  • Null

45. What are the goals of Ajax?

The basic goals of ASP.NET Ajax are:

  • Reduced web server hits
  • Reduced Network load
  • Interactive user interface
  • Platform and architecture neutrality
  • Support for both synchronous and asynchronous communication
  • Provide a server- and client-side framework

46. What is the difference between proxied and proxyless calls in AJAX?

Proxied calls are made through stub objects which can be called from PHP classes on the JavaScript side in AJAX.

Proxyless calls are made using utility JavaScript functions like HTML_AJAX.replace() and HTML_AJAX.append() in AJAX.

47. How many types of ready states in Ajax?

There are four ready states in Ajax:

  1. Initialization
  2. Request
  3. Process
  4. Ready

48. What is the difference between RegisterClientScriptBlock, RegisterClientScriptInclude and RegisterClientScriptResource?

Following are the functions:

RegisterClientScriptBlock – The script is specified as a string parameter.
RegisterClientScriptInclude – By setting the source attribute to a URL that point to a script file.
RegisterClientScriptResource – specifies Resource name in an assembly. The source attribute is automatically populated with a URL by a call to an HTTP handler that retrieves the named script from the assembly.

49. Which request is better, Get or Post?

AJAX requests should use an HTTP GET request where the data does not change for a given URL requested.

An HTTP POST should be used when state is updated on the server. This is highly recommended for a consistent web application architecture.

50. What are the limitations of Ajax?

An Ajax Web Application tends to confuse end users if the network bandwidth is slow and there is no full postback running.

51. What Kinds Of Applications Is Ajax Best Suited For?

We don’t know yet. Because this is a relatively new approach, our understanding of where Ajax can best be applied is still in its infancy. Sometimes the traditional web application model is the most appropriate solution to a problem.

52. Does This Mean Adaptive Path Is Anti-flash?

Not at all. Macromedia is an Adaptive Path client, and we’ve long been supporters of Flash technology. As Ajax matures, we expect that sometimes Ajax will be the better solution to a particular problem, and sometimes Flash will be the better solution. We’re also interested in exploring ways the technologies can be mixed (as in the case of Flickr, which uses both).

53. Where Can I Find Examples Of Ajax?

While components of AJAX have been around for some time (for instance, 1999 for XMLHttpRequest), it really didn’t become that popular until Google took. But Global Guide Line guide all of its viewers to learn AJAX from absolute beginner to advance level.

54. What Is The Xmlhttprequest Object?

It offers a non-blocking way for JavaScript to communicate back to the web server to update only part of the web page.

55. Does Ajax Have Significant Accessibility Or Browser Compatibility Limitations? Do Ajax Applications Break The Back Button? Is Ajax Compatible With Rest? Are There Security Considerations With Ajax Development? Can Ajax Applications Be Made To Work For Users Who Have Javascript Turned Off?

The answer to all of these questions is “maybe”. Many developers are already working on ways to address these concerns. We think there’s more work to be done to determine all the limitations of Ajax, and we expect the Ajax development community to uncover more issues like these along the way.

56. How Do I Access Data From Other Domains To Create A Mashup With Java?

From your JavaScript clients you can access data in other domains if the return data is provide in JSON format. In essence you can create a JavaScript client that runs operates using data from a different server. This technique is know as JSON with Padding or JSONP. There are questions as to whether this method is secure as you are retrieving data from outside your domain and allowing it to be excuted in the context of your domain. Not all data from third parties is accessible as JSON and in some cases you may want an extra level of protection. With Java you can provide a proxy to third party services using a web component such as a servlet. This proxy can manage the communication with a third party service and provide the data to your clients in a format of your choosing. You can also cache data at your proxy and reduce trips to service. For more on using a Java proxy to create mashups see The XmlHttpProxy Client for Java.

57. Does Java Have Support For Comet Style Server-side Push?

Current AJAX applications use polling to communicate changes data between the server and client. Some applications, such as chat applications, stock tickers, or score boards require more immediate notifications of updates to the client. Comet is an event based low latency server side push for AJAX applications. Comet communication keeps one of the two connections available to the browser open to continuously communicate events from the server to the client. A Java based solution for Comet is being developed for Glassfish on top of the Grizzly HTTP connector. See Enabling Grizzly by Jean-Francois Arcand for more details.

58. How Do We Create A Thread To Do Ajax Polling?

JavaScript does not have threads. JavaScript functions are called when an event happens in a page such as the page is loaded, a mouse click, or a form element gains focus. You can create a timer using the set Timeout which takes a function name and time in milliseconds as arguments. You can then loop by calling the same function as can be seen in the JavaScript example below.

function checkForMessage() {
// start AJAX interaction with processCallback as the callback function
}

// callback for the request
function processCallback() {
// do post processing
setTimeout(“checkForMessage()”, 10000);
}
Notice that the checkForMessage will continue to loop indefinitely. You may want to vary the increment the interval based on activity in the page or your use cases. You may also choose to have logic that would break out of the loop based on some AJAX response processing condition.

59. Is The Xmlhttprequest Object Part Of A W3c Standard?

No. Or not yet. It is part of the DOM Level 3 Load and Save Specification proposal.

60. How Does One Call A Javascript Function From The Ajax Code?

Ajax is a form of JavaScript, which uses XML Http Request objects that take action event parameters into a method called “open”. The term AJAX symbolizes Asynchronous Java script and XML, wherein there is no order in which the requests and responses are tracked.”XMLHttpRequest.open” takes action events as URL Parameters. On the other hand, “XMLHttp Request.send” sends the Request object either asynchronously or synchronously, depending on whether the option for the synchronous version is true or false.

61. Can You List Some Examples Of Ajax-based Applications?

Some applications and scenarios in which AJAX is utilized include login forms, auto-complete (e,g. Google search ), voting and rating systems, updating with user content, form submission and validation, chat rooms and instant messaging, Slicker UIs, external widgets, light-boxes (as opposed to pop-ups), and Flash (e.g. Flash games).

62. Is Ajax A Browser-dependent Or A Browser-independent Script?

AJAX is a browser-dependent technology. The Ajax engine runs on Firefox, Opera 8, Safari and later Mozilla builds, and the Microsoft ActiveX object.

63. What is asynchronous request in AJAX?

In an asynchronous request, the page continues to work normally without blocking the user. It is the most preferred way of sending a request.

64. Does Load Runner Support Ajax Apps?

Load Runner supports AJAX Apps. However, Ajax protocols in Load Runner are not as efficient as they are in HTTP. Yet, using HTTP to record AJAX web requires copious custom coding. AJAX protocols heavily depend on memory, and running more than 2GB of ram could cause the machine to freeze.

65. Describe The Process And Benefits Of Using The Always Visible Control Extender?

The Always Visible Control Extender authorizes a control to be pinned to a particular location. For example, when a control has been permanently set to be present at the left corner of the page, the control will be so in the prescribed left and right co-ordinates. This placement will apply, whenever the page is resized or scrolled.

66. What Are Synchronous And Asynchronous Ajax Requests?

During the initiation of synchronous requests, the script desists and awaits a reply from the server before proceeding; but during the initiation of asynchronous requests, the script sanctions the procession of the page and handles the reply.

67. How We Can Send More Values Through The Response Text?

We can send text values with the concatenation of ‘I’ operator and by splitting with the pipe operator like ’responseText.split(‘|’);’ If done properly, we would receive an array of our text. Now, we can access it, or we can use JSQN to send multiple text values in a array format.

68. What Is The Predominant Distinction Between Javascript And J-query?

JavaScript is a language, while j-query is merely a library written using JavaScript. This library is light-weight, cross-browser compatible, and simple. One can also assert that j-query is a plugin used to build function.

69. When Should We Use A Java Applet Instead Of Ajax?

Many amazing things can be done with AJAX/DHTML, but there are limitations. AJAX and applets can be used together in the same UIs, with AJAX providing the basic structure and applets providing more advanced functionality. The java applet can communicate to JavaScript using the Live-Connect APIs. One should not ask: “should we use AJAX or applets?” Instead, one should discover which technology best fits your needs. In summary, AJAX and applets need not be mutually exclusive.

70. What Is The Difference Between A Destructor And A Garbage Collector?

A destructor is a special member function of a class called as soon as an object is de-allocated, while a garbage collector is either a program or an application that de-allocates the memory of a formerly unreachable object.

71. Do Ajax Applications Always Deliver A Better Experience Than That Delivered By A Traditional Web Application?

AJAX gives interaction designers more flexibility. However, the more power we have, the more caution we must use in exercising it. We must be careful to use AJAX only to enhance the user experience of our applications.

72. How Do We Manage Concurrent Request?

For managing concurrent request we can write a function or we can use Java Script closures. After code processing is finishes the call back function and the URL would pass as parameters, they are passed to the object (Ajax Interaction). These closures are good in the way that they insure the right callback function will be invoked and this will have a particular Ajax Interaction.

73. Which Are The Problems That Can Be Fixed Using Ajax And What Is The Actual Meaning Of Ajax?

The technologies that represent Ajax belong to the client and they make possible an asynchronous client to server communication. When synchronous communication is involved at every event a complete round trip takes place, issue solved by using asynchronous communication.

74. Is There Any Use Abilities Problems In Ajax?

The appearance of a page is changed very much when we used Ajax interaction to dynamically update it. Because of the dynamically changes, also the state of the page is modify and the page behavior has to be defined for the following actions :navigation, using back , slash forward, page bookmarks, URL sharing, time dependant , printing of pages.

Navigation-we have to define page refreshing, back and forward and so on .For simplifying navigation we can use a Java Script framework like Dojo.
For bookmarking or URL sharing we have Dojo.
Printing-problems may appear when the rendered pages are printed dynamically.

75. Which Are The Knowledge Requirements For Personal Ajax Functionality?

To make a personal Ajax component and not reuse an already made one we need to have knowledge of the following:

  • Learning of DHTML or Dynamic HTML is a must because this is the Ajax foundation; it enables a high level of interaction in the browsers between users and pages. CSS, Document Object Model and Java Script form together what is called DHTML.
  • We must also learn JavaScript which is an object based language compatible with the majority of browsers and very important for the interactions of Ajax, JavaScript is invoked on mouse clicks, page boots pr completing various form.
  • Document Object Model or DOM is an application used for handling structured documents usually with HTML or XML documents.
  • CSS-gives us the possibility to dyne the appearance(fonts, sizes, colors, positions it).In addition to these we must also known about the requestresponse behavior of HTTP, because ignoring some of the things involved can load to serious bugs.

76. Which Are The Trigger Types That We Find In Update Panel?

The types or triggers are in member of two: PostBackTrigger and AsynPostBackTrigger. The first one makes a complete postback. It doesn’t work asynchronously, the second one makes a practical postback and this is working asynchronously.

77. How Can Javascript Be Debugged?

Right now the number of utilities that are compatible with both client and server debugging is small, but this could change over time. The debugging is currently made in separate way. Some of the client debuggers for some popular browsers are presented below: the Venkman debugger is a built-in feature of Netscape/Mozilla browser and also there is an add-on called FireBug, also the browser Safari has a similar debugger that can be used by activation and Internet Explorer has some methods of debugging JavaScript. A common method used by debuggers is “Alert Debugging” with the function “alert( )”.

78. What Are The Protocols And Forms In Ajax?

XMLHttpRequest, this protocol is meant for doing requests to a server. The client browser makes an object, the transfer of data happens in JSON or plain text. The JSON format can be parsed by java script and will be compatible with every browser.

79. Do We Have To Use Http Get/post For The Ajax Calls?

If the data doesn’t change for a particular request URL, HTTP GET requests are necessary. If the state on a server is going to be updated then a HTTP POST is necessary.

80. Easy Trough That The Classical Web Applications Are Harder To Make Than Ajax Applications?

Not really, because the code that has to run on the client is complicated and it is hard to create such a code, without having bugs and we need the aid of many tools of an efficient code.

81. Why Is Html_ajax Having Stability Issues On Some Installations?

If the problem that we have with is specific to certain servers the best explanation would be that the problem relates to output compression. It can be dictated and fixed PHP config but if it is a related apache extension it is almost impossible to be detected properly. In most cases we will have to disable the AJAX extension, but in rare cases we can fix the issue by using the setting sendContentLength to false. Also xDdebug can create some issues but they can be fixed by the activating the extension.

82. Is It True That Ajax Is Code Browser Compatible?

Yes but only partially. The majority of browsers give us a built-in XMLHttpRequest JavaScript object but some, like Internet Explorer, will asked it in the form of an ActiveX object.

83. Is It True That A Xmlhttprequest Objects Belongs To The W3c Standard?

This hasn’t been decided until now but we know just that it belongs to DOM Level 3 Load and Save.

84. What Meaning Has Asp.net Ajax?

ASP .NET Ajax is developed by Microsoft and it represent the free Ajax frame work used for creating applications that have a great amount of interactivity and is compatible with all the browsers. It gives us the possibility to choose our own way of using Ajax no matter if is Server-side, Client-side, the Query library or the Ajax Control Tool kit.

85. What Are The Browser Versions That Ajax Is Compatible With?

From the version 0.3.0 Ajax is compatible with Internet Explorer 5.5, Mozilla Firefox 1.0, Safari 2+ and Opera 8.5+.

86. In What Way Are Proxyless Calls Different Than The Proxied Calls In Ajax?

Proxyless calls can be possible using functions such as HTML_AJAX.replace() or HTML_AJAX.append(). This functions are JavaScript utilities. Proxied calls are possible by using limitations of PHP classes or stub objects in JavaScript.

87. How Can We Make A Mashup With Java By Accessing Other Domains Data?

We can gain access to other domains data in our Java Script clients if the format of the data returned is in JSON format. In this way JavaScript client can be made which is running with the usage of another servers data, method called JSQN with Padding (JSQNP). This method has his doubts when it comes to security, because it functions by bringing data from outside our domain, but the execution is made inside. Not every type of data from outside can be accessed as JSON and sometimes we want more security. In Java a proxy can be given to outside services with the aid of what we called a servlet, which is used for communication management between outside and inside services and gives us the possibility of changing the format of the data we provide according to our wishes. For speed improvement data can be cached.

88. Does Ajax Have The Same Meaning As Xmlhttprequest?

Because XMLHttpRequest is just a piece of Ajax, the answer will be no. Ajax depends on many pieces like XMLHttpRequest, CSS, DOM, etc. XMLHttpRequest is the part responsible for asynchronous server communication.

89. In Ajax Does The Client Or The Sever Have The Control?

Sometimes yes, sometimes no. It can be more like a server-side centralized component or controller or client-side controller. A centralized server-side controller is the case where we must assure that the client-side page data is synchronized with the server data. Many programs are preserving everything on the server and the updates are given to the client DOM through an easy Java Script controller. The case of client and server-side controllers uses a JavaScript for making each control that relates to presentation, each processing of events, each manipulation of pages and model data rendering on the client. The responsibility of business logic or giving the updated model data to a client is taken by the server-side. But this case doesn’t include specific information about the initial pages which is sent to the request of the client page. In certain use cases the whole Ajax application is possible to write in one page. If we chose this we must also remember about bookmarking and navigation.

90. We Used Asynchronous Server Communication For A Long Time, What New Thing Is Ajax Bringing?

Ajax is bringing changes in the way we use interactive real-world web applications. Now it’s time to apply all this new technologies that have been in development for many years.

91. Is It True That The Ajax Application Are Much Better Than The Classical Internet Applications?

Not really. What it is true is that Ajax has brought more flexibility. This flexibility also implies a higher degree of responsibility when we use Ajax for providing a better experience for the user.

92. What Is The Response Time When Using Ajax?

Response time can also be named latency and it means the period of time that passes from the beginning of a request processing by the client to the sever until its end. Id the time is longer than normal then we say we had a delay, Delays usually appear when the XMLHttpRequest object is badly handled.

93. Which Is The Purpose For Using The Scriptmanager?

ScriptManager is used for handling every ASP.NET Ajax resource and it makes links for the client libraries in ASP.NET Ajax. This means we will be able to use UpdatePanels, PageMethods and others. Also the page request Manager and Application objects are made, they are important in the client life cycle for raising events in the ASP.NET Ajax web pages. It is also good for making proxies for calling web services asynchronously.

94. What Is The Use Of Updatepanel?

Updatepanel gives us the possibility to make ASP .NET applications Ajax compatible, to update the content of a page with the aid of Partial-Page rendering. This is useful for refreshing a section of the page without refreshing the entire page.

95. What is the full form of AJAX?

AJAX stands for Asynchronous JavaScript and XML.

96. How can you debug AJAX application?

If you want to debug in Google Chrome, then use Chrome Developer Tool. On Mozilla Firefox, with the help of Firebug, debugging can be done easily.

97. Can you provide any real world example of AJAX?

Nowadays, many websites and web applications are using AJAX. Some of the most popular web applications are-

  • Google Maps
  • Youtube
  • Instagram
  • Google Plus
  • Twitter
  • Facebook

98. What are disadvantages of AJAX?

Every technology is not a perfect and has some disadvantages. The cons of AJAX are-

  1. Source code of AJAX is viewable.
  2. It depends on javascript and cannot work if javascript is disabled in a web browser.
  3. Malicious code can be inserted into the system.

99. What is Rich Internet Application (RIA)?

An application that works similar to a desktop application and has enhanced the user interface, advanced functions and quicker response time.

100. What are the most popular AJAX framework?

  • Angular JS
  • Backbone.js
  • Prototype
  • Ext JS
  • jQuery and jQuery UI

AJAX Questions and Answers Pdf Download

Leave a Reply

Your email address will not be published. Required fields are marked *