Top 50+ Advanced Ajax Interview Questions & Answers Pdf 2020-21 - 1

Question: 1

Briefly describe ASP.NET AJAX Framework?

ASP.NET AJAX Framework provides a platform where developers can develop such type of applications that use the AJAX concept. The AJAX provides the collection of technologies to create dynamic pages at the client side. The JavaScript requests are responsible to retrieve data from the server or send data to the server. Even some processing at server also requires handling requests, such as searching and storing of data. These tasks are achieved more easily using the AJAX Framework.

AJAX Framework is completely devoted to process requests. The objective of the AJAX engine is to reduce the delays that the user notices while performing a post back to the server. AJAX Framework allows JavaScript functions to send requests to server at the client side. On the other side, it allows the server to process the client’s request, searches data, and responds the result to the browser.

Question: 2

Why do we use the XMLHttpRequest object in AJAX?

The XMLHttpRequest object is used by JavaScript to transfer XML and other text data between client and server.

The XMLHttpRequest object allows a client-side script to perform an HTTP request.

AJAX applications use the XMLHttpRequest object so that the browser can communicate to the server without requiring a post back of the entire page.

In earlier versions of Internet Explorer, MSXML Active X component is liable to provide this functionality; whereas, Internet Explorer 7 and other browsers, such as Mozilla Firefox, XMLHttpRequest is not liable to.

Question: 3

What is the importance of client-side libraries?

Client-side libraries contain built-in code to make asynchronous calls over XMLHTTP.

These libraries automatically handle browser compatibility issues.

These libraries are based on a programming model similar to ASP.NET.

Question: 4

Is the AjaxControlToolkit.dil file installed in the Global Assembly Cache?

No, you have to copy this file to the Bin folder of your application.

Question: 5

What does the Dynamic Populate Extender control do?

The Dynamic Populate Extender control populates the contents of a control dynamically.

It enables you to send an asynchronous call to the server that dynamically populates the contents of a control.

The Dynamic Populate Extender control replaces the contents of a control with the result of a Web service or page method call.

Related Questions