YouTube Icon

Interview Questions.

Top 100+ Asp Dot Net Ajax Interview Questions And Answers - May 26, 2020

fluid

Top 100+ Asp Dot Net Ajax Interview Questions And Answers

Question 1. What Is Asp.Internet Ajax?

Answer :

ASP.NET AJAX, generally called AJAX, is a set of extensions of ASP.NET. It is evolved by using Microsoft to implement AJAX functionalities in Web programs. ASP.NET AJAX affords a fixed of additives that allow the developers to broaden packages which could replace only a distinct part of statistics with out fresh the entire web page. The ASP.NET AJAX works with the AJAX Library that uses item-oriented programming (OOP) to expand rich Web applications that communicate with the server using asynchronous postback.

Question 2. What Is The Difference Between Synchronous Postback And Asynchronous Postback?

Answer :

The difference among synchronous and asynchronous postback is as follows:

Asynchronous postback renders only the desired a part of the web page; while, synchronous postback renders the entire web page for any postback.
Asynchronous postback executes handiest one postback at a time, that is, when you have two buttons doing asynchronous postback, the moves might be executed one after the other; whereas, synchronous postback executes all of the moves right now.
Asynchronous postback best modifies the update panel that raises the postback; whereas, synchronous postback modifies the entire web page.
MySQL Interview Questions
Question three. What Technologies Are Being Used In Ajax?

Answer :

AJAX uses four technologies, which might be as follows:

JavaScript
XMLHttpRequest
Document Object Model (DOM)
Extensible HTML (XHTML) and Cascading Style Sheets (CSS)
Question 4. Why Do We Use The Xmlhttprequest Object In Ajax?

Answer :

The XMLHttpRequest object is utilized by JavaScript to switch XML and different textual content facts among patron and server. The XMLHttpRequest object permits a client-aspect script to perform an HTTP request. AJAX programs use the XMLHttpRequest item in order that the browser can communicate to the server with out requiring a postback of the complete page. In in advance versions of Internet Explorer, MSXML ActiveX element is at risk of provide this capability; whereas, Internet Explorer 7 and different browsers, consisting of Mozilla Firefox, XMLHttpRequest is not liable to.

MySQL Tutorial
Question 5. How Can We Get The State Of The Requested Process?

Answer :

XMLHttpRequest get the cutting-edge country of the request operation by the use of the readyState property. This belongings exams the country of the object to determine if any movement need to be taken. The readyState assets uses numeric values to represent the nation.

Advanced Dot Net Interview Questions
Question 6. What Are The Different Controls Of Asp.Internet Ajax?

Answer :

ASP.NET AJAX consists of the following controls:

ScriptManager
ScriptManagerProxy
UpdatePanel
UpdateProgress
Timer
Question 7. What Are The New Features Included In The Microsoft Ajax Library?

Answer :

The Microsoft AJAX library is a patron-based totally JavaScript library that is compatible with all current browsers and gives a whole lot of capability as compared to JavaScript. This library is launched with new features and completely helps ASP.NET four.Zero'.

The new features blanketed within the Microsoft AJAX library are as follows:

Imperative syntax - Supports simple imperative syntax that is used to create and manage controls.
Script loader - Retrieves all scripts which might be wished by one or more client component or control routinely and executes the scripts in the order wherein they're received.
Client records get entry to - Supports to access consumer statistics and show with the aid of client records manage and purchaser template.
Client datacontext - Supports examine and write permission to information from a database.
The AdoNetDataContext magnificence - Enables you to effortlessly interact with an ADO.NET Data Services service.
JQuery integration - Helps to get admission to the factors for your Web pages, work with client-side activities, permit visual results, and make it easier to apply AJAX on your programs.
CSS Advanced Tutorial MYSQL DBA Interview Questions
Question 8. Explain The Step Property Of The Numericupdownextender Control?

Answer :

The Step assets sets the stairs for numeric increment and decrement. The default price is 1.

Question nine. What Are The New Features Of Asp.Internet Ajax four.Zero?

Answer :

ASP.NET 4.0 AJAX includes several new features that provide greater functionality to a user.

These capabilities are as follows:

Support for live data binding.
Support for client-side template rendering.
Support for declarative instantiation of client components.
Support for using the observer sample on JavaScript gadgets and arrays.
Support for invoking ADO.NET information offerings and data contexts.
Support for the DataView control.
Dot Net Remoting Interview Questions
Question 10. Why Do We Use The Updateprogress Control In Ajax?

Answer :

The UpdateProgress manage is particularly associated with the UpdatePanel manage. The UpdateProgress control permits you to layout a user-friendly interface whilst a Web web page consists of a number of UpdatePanel controls for partial-web page rendering.

The UpdateProgress manage makes you privy to the reputation information about the partial-page updates in the UpdatePanel control.

Javascript Advanced Tutorial
Question 11. What Is Json?

Answer :

JSON is an abbreviation of JavaScript Object Notation. It is a safe and reliable facts interchange layout in JavaScript, which is simple to recognize now not best for the customers however additionally for the machines.

CSS Advanced Interview Questions
Question 12. How Many Validation Controls Are Available In Asp.Net Ajax 4.0?

Answer :

The following validation controls are available in ASP.NET AJAX four.Zero:

FilteredTextBoxExtender - Enables you to use filtering to a textual content container.
MaskedEditExtender and MaskedEditValidator - Restricts a consumer to enter simplest a certain sample of characters inside the TextBox by means of making use of a masks to the enter.
ValidatorCalloutExtender - Attaches to the ASP.NET validators so that the mistake messages aren't displayed as a easy text but as a balloon-fashion ToolTip.
NoBot - Prevents the junk mail/bot from filling the input bureaucracy routinely and uses the Completely Automated Public Turing check to inform Computers and Humans Apart (CAPTCHA), which is a sort of undertaking-reaction test to make certain that the reaction isn't always generated by the pc.
PasswordStrengthExtender - Measures the energy of the password textual content entered inside the textual content box through validating with the specific power targeted parameters
MySQL Interview Questions
Question thirteen. Explain The Limitations Of Ajax?

Answer :

The following are the restrictions of AJAX:

It is hard to bookmark a selected kingdom of the utility.
Function supplied within the code-behind record do not work due to the fact the dynamic pages cannot check in themselves on browsers history engine robotically.
If JavaScript is disabled, then AJAX isn't always able to perform any work.
Response time may be gradual due to the fact extraordinary controls of a page are loaded at distinct time.
Software Development Lifecycle (SDLC) Tutorial
Question 14. What Are The Differences Between Ajax And Javascript?

Answer :

The differences between AJAX and JavaScript are given as follows:

AJAX sends request to the server and does now not watch for the reaction. It plays other operations on the web page all through that point. JavaScript make a request to the server and waits for response.
AJAX does no longer require the web page to refresh for downloading the entire page while JavaScript manages and controls a Web web page after being downloaded.
AJAX minimizes the overload at the server since the script desires to request once whilst JavaScript posts a request that updates the script each time.
Question 15. Explain The Updatepanel Control?

Answer :

The UpdatePanel manipulate specifies the portions of a Web web page that may be updated together. As the UpdatePanel control refreshes handiest a specific a part of the Web web page in place of clean the complete page with a postback, you get greater flexibility to create wealthy and patron-centric Web applications.

Refreshing a specific part of the Web web page is referred as partial-web page replace. You can add one or greater UpdatePanel manage within the Web web page, which robotically participates in partial-web page update without custom consumer script. The UpdatePanel control uses the UpdatePanel class to assist the partial-page rendering.

Javascript Advanced Interview Questions
Question 16. What Does The Dynamicpopulateextender Control Do?

Answer :

The DynamicPopulateExtender control populates the contents of a control dynamically. It permits you to send an asynchronous name to the server that dynamically populates the contents of a control. The DynamicPopulateExtender control replaces the contents of a manipulate with the result of a Web service or page method name.

Adaptive software development Tutorial
Question 17. What Does The Minimumprefixlength Property Of The Autocompleteextender Control Do?

Answer :

The MinimumPrefixLength assets units the minimal variety of characters that ought to be entered before getting recommendations from the Web provider.

Software Development Lifecycle (SDLC) Interview Questions
Question 18. What Is The Importance Of Client-aspect Libraries?

Answer :

Client-side libraries include integrated code to make asynchronous calls over XMLHTTP. These libraries automatically handle browser compatibility problems. These libraries are based totally on a programming version just like ASP.NET.

Advanced Dot Net Interview Questions
Question 19. Can We Call Server-facet Code From Javascript?

Answer :

Yes, page techniques and Web services are the 2 strategies to call the server-aspect code from JavaScript.

Question 20. What Are The Components Of The Asp.Net Ajax Architecture?

Answer :

You can divide the ASP.NET AJAX structure into two additives - AJAX consumer architecture and AJAX server structure.

Dot Net Framework Interview Questions
Question 21. Describe Ajax Control Extender Toolkit?

Answer :

AJAX Control Toolkit is a set of extenders which might be used to increase the functionalities of the ASP.NET controls. The extenders use a block of JavaScript code to feature new and better competencies to the ASP.NET controls. AJAX Control Toolkit is a unfastened download to be had on the Microsoft web site. You need to install this toolkit for your device before the usage of extenders.

Question 22. Explain The Need Of The Timer Control In Ajax?

Answer :

The Timer manipulate is used with an UpdatePanel manipulate to permit partial-page updates at a distinctive c language. It is normally used whilst a periodically partial-web page update for one or greater UpdatePanel controls is required without fresh the complete page.

The Timer manage is a server control that units a JavaScript component within the Web page. The c language property of the Timer manipulate specifies time in milliseconds. Similar to the UpdatePanel control, the Timer control also requires an instance of the ScriptManager control within the Web web page. 

When the Timer manipulate initiates a postback, the Tick occasion is raised at the server for which you may offer an event handler to perform the movements while the web page is submitted to the server. The Tick occasion happens while the time precise inside the interval belongings has elapsed and the web page is posted on the server. You can add one or more Timer controls on a Web web page. Usually the entire web page requires simplest a unmarried Timer control; but, you could use a couple of Timer controls, if the UpdatePanel controls are being updated at distinctive intervals.

Question 23. List The Different States Of Xmlhttprequest With Their Description?

Answer :

The exceptional states of the XMLHttpRequest item are as follows:

Uninitialized - Refers to the kingdom when the item has now not been initialized.
Open - Refers to the country when the object has been created; but, the ship feature has not been invoked.
Sent -Refers to the nation whilst the ship function is invoked; but, the status and headers aren't to be had.
Receiving - Refers to the country when the process is receiving statistics.
Loaded - Refers to the state whilst the procedure is completed and the whole statistics is available.
Advanced jQuery Interview Questions
Question 24. Can We Nest The Updatepanel Controls?

Answer :

Yes, we will nest the UpdatePanel manage.

MYSQL DBA Interview Questions
Question 25. What Is The Role Of The Scriptmanagerproxy Control?

Answer :

A Web web page can not incorporate a couple of ScriptManager manage. You can use the ScriptManagerProxy manage to feature scripts to other pages; but to perform such an operation, you need to paintings with a grasp page that contains the ScriptManager control. If you have handiest few pages that need to register to a script or a Web carrier, then you definitely have to remove these pages from the ScriptManager manage and upload them as man or woman pages via the use of the ScriptManagerProxy manage. If you consist of the scripts at the grasp page by using the ScriptManager manage, then the gadgets get downloaded on each web page that extends the master web page, although they're not essential.

Question 26. What Is The Work Of The Conformonformsubmit Property In The Confirmbuttonextender Control?

Answer :

The ConformOnFormSubmit assets determines whether or not or not the verify conversation container have to wait whilst the shape is submitted for show.

Asp Dot Net Database Interview Questions
Question 27. What Is The Syntax To Create Ajax Objects?

Answer :

AJAX makes use of the subsequent syntax to create an item:

var myobject = new AjaxObject("page course");

The web page direction is the URL of the Web web page containing the object which you need to name. The URL have to be of the identical area as the Web page.

Dot Net Remoting Interview Questions
Question 28. Is There Any Difference Between Html And Xhtml?

Answer :

Extensible HTML (XHTML) is a markup language that gives the combination expressions of HTML and XML. XHTML is a flexible markup language that enables automatic processing with the aid of widespread XML tools, which turned into tough in HTML.

Question 29. What Are The Requirements To Run Asp.Net Ajax Applications On A Server?

Answer :

AJAX is a integrated functionality of .NET Framework 4.0. Therefore, you could run an AJAX software via just installing Microsoft Visual Studio 2010. However, to use extenders for your packages, you are required to put in AJAX Control Toolkit and duplicate the AjaxControlToolkit.Dll record to the Bin listing of your utility.

Rational Unified Process Interview Questions
Question 30. Describe The Situations In Which Ajax Should Not Be Used?

Answer :

You ought to now not use AJAX if:

You want the web page to expose in a seek engine, which include Google, due to the fact WebCrawler does not execute JavaScript code.
The browser does no longer aid JavaScript.
You want to create a comfy application.
Question 31. What Is The Use Of The Scriptmanager Control In Ajax?

Answer :

The ScriptManager control is a center manipulate that performs a key role in implementing the ASP.NET AJAX functionality. It enables to apply JavaScript for the Microsoft AJAX Library. It have to be referred to that AJAX Library on a Web page can simplest be used if the Web page contains the ScriptManager manage. This manage makes use of the ScriptManager magnificence to maintain the AJAX script libraries and script files. It permits for partial page rendering, Web service calls, and use of ASP.NET AJAX Client Library by using rendering the AJAX Library scripts to the browser.

Question 32. How Can You Find Out That An Ajax Request Has Been Completed?

Answer :

You can discover that an AJAX request has been finished by the use of the readyState assets. If the price of this assets equals to four, it means that the request has been completed and the records is available.

Question 33. Is It Possible To Use Multiple Scriptmanager Controls On A Web Page?

Answer :

No, it is not viable.

CSS Advanced Interview Questions
Question 34. What Are The New Controls Introduced In Asp.Net Ajax Control Toolkit?

Answer :

The following controls are delivered with the new edition of AJAX Control Toolkit:

SeaDragonExtender control - Refers to the manipulate that is used to deeply zoom the pix. You can zoom in or out the photograph or the specific portion of the photo by the usage of the mouse. You also can create a menu over the Seadragon manage. This manage is helpful while you need to research the picture closely.

AsyncFileUploadExtender manipulate - Refers to the control that gives the facility to add and shop the documents on the server asynchronously. You can check the outcome both on the server or client aspect.

Question 35. Briefly Describe Asp.Net Ajax Framework?

Answer :

ASP.NET AJAX Framework provides a platform in which developers can increase such form of programs that use the AJAX concept. The AJAX affords the gathering of technology to create dynamic pages at the customer facet. The JavaScript requests are accountable to retrieve facts from the server or send information to the server. Even a few processing at server additionally requires handling requests, together with searching and storing of statistics. These obligations are completed greater easily the use of the AJAX Framework.

AJAX Framework is absolutely dedicated to manner requests. The goal of the AJAX engine is to lessen the delays that the user notices while performing a postback to the server. AJAX Framework allows JavaScript capabilities to send requests to server at the patron aspect. On the opposite facet, it allows the server to manner the consumer's request, searches statistics, and responds the end result to the browser.

Question 36. Is The Ajaxcontroltoolkit.Dll File Installed In The Global Assembly Cache?

Answer :

No, you have to reproduction this document to the Bin folder of your application.

Javascript Advanced Interview Questions
Question 37. What Are The Different Ways To Pass Parameters To The Server?

Answer :

We can skip parameters to the server using either the GET or POST technique.

The following code snippets show the example of each the techniques:

Get: XmlHttpObject.Open("GET", "file1.Txt", proper);

Post: XmlHttpObject.Open("POST", "file2.Txt", real);

Question 38. What Are The Extender Controls?

Answer :

The extender controls makes use of a block of JavaScript code to feature new and more suitable skills to ASP.NET. The developers can use a hard and fast of pattern extender controls via a separate download - AJAX Control Toolkit (ACT).

Question 39. Describe The Accordionextender Control?

Answer :

The AccordionExtender manage is much like the CollapsiblePanelExtender control. It allows you to group a couple of collapsible panels in a single manipulate. At the identical time, it additionally manages the collapsed and increased state of every panel; consequently, expanding one panel at a time. In different phrases, the AccordionExtender manage does now not guide increasing two or greater panels concurrently. Instead, the header templates of all of the panels are always visible so you can click on any of them to show the hidden contents. By default, the AccordionExtender manage opens with one panel as multiplied.




CFG