Jquery Ajax Interview Questions for Experienced - 2

Question: 6

How many validation controls are available in Asp.net Ajax 4.0?

The following validation controls are available in Asp.net Ajax 4.0:

FilteredTextBoxExtender - Enables you to apply iltering to a text box

MaskedEditExtender and MaskedEditValidator - Restricts a user to enter only a certain pattern of characters in the TextBox by aplying a mask to the input

ValidatorCalloutExtender - Attaches to the Asp.net validators so that the error messages are not displayed as a simple text but as a balloon style Tooltip

NoBot - Prevents the spam/bot from filling the input forms automatically and uses the Completely Automated Public Turning test to tell Computers and Human Apart (CAPTCHA), which is a type of challenge response test to ensure that the response is not generated by the computer

PasswordStrengthExtender - Measures the strength of the password text entered within the text box by validating with the different strength specified parameters

Question: 7

What do you mean by the term asynchronous postback?

The Asp.net Ajax allows developers to use the asynchrous postback when a browser sends the callback to a server by establishing a new connection; thereby, making the callback out of band.

Due to this, the entire page is not submitted to the server. Moreover, if the client has sent the asynchronous request to the server, he can continue his work while the server is processing the request.

Question: 8

What are the new features included in the Microsoft Ajax library?

The Microsoft Ajax library is a client based Javascript library that is compatible with all modern browsers and offers a lot of functionality as compared to javascript. This library is released with new features and fully supported Asp.net 4.0. The new features included in 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 script that are needed by one or more client component or control automatically and executes the scripts in the order in which they are received

Client data access - Supports to access client data and display by client data control and client template

Client datacontext - Supports read and write permission to data from a database

The AdoNetDataContext class - Enables you to easily interact with an ADO.NET Data Services service

Jquery integration - Helps to access the elements in your Web pages, work with client side events, enable visual effects and make it easier to use Ajax in your applications

Related Questions