Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

101.

What Are The Controls Of The Script Management Group?

Answer»

The CONTROLS of script MANAGEMENT GROUP are:

  • ScriptManager
  • ScriptManagerProxy

The controls of script Management group are:

102.

What Are The Components Of The Asp.net Ajax Client Library?

Answer»

Following components are used in AJAX CLIENT LIBRARY:

Following components are used in Ajax client library:

103.

How Can We Handle Exception Handling In Ajax?

Answer»

ErrorTemplate which is the child tag of Script Manager is used to HANDLE EXCEPTION handling in Ajax.

 

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

 

104.

What Are The Types Of Post Back In Ajax?

Answer»

There are TWO types of post backs:

  1. SYNCHRONOUS POSTBACK.
  2. ASYNCHRONOUS Postback.

There are two types of post backs:

105.

Can We Use Nested Update Panel In Ajax?

Answer»

YES, we can USE nested update PANEL in Ajax. Update panels can be nested to have more control over the PAGE REFRESH.

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

106.

Define The Role Of The Update Panel?

Answer»

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.

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.

107.

How Can We Handle Concurrent Requests?

Answer»

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.

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.

108.

What Are All The Security Issues Of Ajax?

Answer»

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

Security issues that can be encountered

109.

What Are The Protocols Used By Ajax?

Answer»

110.

How Ajax Objects Can Be Created?

Answer»

Following SYNTAX can be used to create AJAX objects:
VAR sample = New ajaxObject(‘PATH of the page’)

Following syntax can be used to create Ajax objects:
Var sample = New ajaxObject(‘path of the page’)

111.

What Is Script Manager?

Answer»

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.

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.

112.

How Many Update Panel Can Be Used Per Page?

Answer»

There are no restrictions on the NUMBER of UPDATE PANELS PER page.

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

113.

What Is Prerequisite For Update Panel In Ajax?

Answer»

Script Manager is pre-requisite to USE UPDATE PANEL CONTROLS.

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

114.

What Is The Name Of Object Used For Ajax Request?

Answer»

XMLHTTPREQUEST OBJECT is USED for AJAX REQUESTS.

XmlHttpRequest object is used for Ajax requests.

115.

How Can We Cancel The Xmlhttprequest In Ajax?

Answer»

ABORT() METHOD can be CALLED to cancel the XMLHttpRequest in Ajax.

 

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

 

116.

How Can Ajax Applications Be Debugged?

Answer»

Two TOOLS are USED for debugging:

  1. Fiddler for IE
  2. FIREBUG for MOZILLA.

Two tools are used for debugging:

117.

Is Ajax Said To Be A Technology Platform Or Is It An Architectural Style?

Answer»

AJAX SUPPORTS both TECHNOLOGY and as ARCHITECTURAL STYLE.

Ajax supports both technology and as architectural style.

118.

How Can You Test The Ajax Code?

Answer»

JSUnit is the CLIENT SIDE javascript code used as part of JUNIT. JSUnit has been used for AJAX code.

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

119.

What Are All The Browsers Support Ajax?

Answer»

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

Following browsers support AJAX:

120.

Is Javascript Knowledge Is Required To Do Ajax?

Answer»

Yes, if you PLAN to develop NEW AJAX FUNCTIONALITY for your WEB application.

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

121.

What Is Ajax Framework?

Answer»

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.

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.

122.

What Are The Pre-requisites To Execute Ajax Applications On A Server?

Answer»

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.

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.

123.

What Is Json In Ajax?

Answer»

124.

What Are All The Features Of Ajax?

Answer»

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

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

125.

What Are All The Technologies Used By Ajax?

Answer»

AJAX USES following technologies:

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

AJAX uses following technologies:

126.

Which Are The Two Methods Used For Cross Domain Ajax Calls?

Answer»

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

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

127.

What Is Update Panel?

Answer»

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.

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.

128.

What Are The Disadvantages Of Ajax?

Answer»

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.

Following are the disadvantages of Ajax:

129.

What Are The Advantages Of Ajax?

Answer»

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.

Following are the advantages of Ajax:

130.

How To Control The Duration Of An Ajax Request?

Answer»

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”/>

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”/>

131.

What Role Of #&amp;&amp; In Querystring?

Answer»

# is TREATED as fragment DELIMITER to delimit the HISTORY state and &AMP;& PRECEDES is used to check on the information in the query string.

 

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

 

132.

What Is The Name Of The Dll That Contains Ajax Control Tool Kit?

Answer»

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.

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.

133.

What Are All The Controls Of Ajax?

Answer»

Following are the controls of AJAX:

Following are the controls of Ajax:

134.

How Many Types Of Triggers Are Present In Update Panel?

Answer»

There are two types of triggers used in UPDATE panel:
POSTBACKTRIGGER – This works as full postback and it cannot work asynchronously
AsyncPostBackTriggerPARTIAL post BACK asynchronously

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

135.

What Are Ajax Applications?

Answer»

BROWSER based applications and PLATFORM INDEPENDENT applications are USED by AJAX.

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