– In AJAX, the page will not get refreshed for downloading the whole page while JavaScript manages and controls a Web page after being downloaded. – It will allow other operations on the page before it get response of previous request whereas, JavaScript make a request to the server, will waits for response and will not allow other operation on the page during that time. – AJAX sends request to the server and will not wait for the response. The differences between AJAX and JavaScript are given as follows: What are the differences between AJAX and JavaScript? – PasswordStrengthExtender : It is used to find the strength of the password entered in the text box by checking the different strength related parameters. – NoBot : It restricts the input forms automatically to be filled by spam/bot and used to ensure that the user is not a computer machine by the automated Public Turing test. – ValidatorCalloutExtender : This validation is used to display a balloon tooltip containing the error message by attaching the ASP.NET validators. – MaskedEditExtender and MaskedEditValidator : These validation controls are used to prevent a user to enter only a particular pattern of characters in the TextBox. – FilteredTextBo圎xtender : This validation is used to apply filtering to a text box. The following validation controls are supported in ASP.NET AJAX 4.0: How many validation controls are supported in ASP.NET AJAX 4.0? – It provides the facility to invoke ADO.NET data services and data contexts. – It provides observer pattern on JavaScript objects and arrays. – It enables declarative instantiation of client components. – It enables to render the client-side template. – It enables the application to bind the live data. What are the new features of ASP.NET AJAX 4.0? – The AdoNetDataContext class – Supports to easily communicate to an ADO.NET Data Services service. – Client datacontext: It’s used to read and write the permission to data in a database. – Client data access: It’s used to access client data and display by client data control and client template. – Script loader: It is used to retrieve all scripts automatically which are required by one or more client component or control and executes them in the order in which they are received. – Imperative syntax: AJAX library provide simple imperative syntax which is required to create and manage controls. The new features included in the Microsoft AJAX library are as follows: What are the new features included in the Microsoft AJAX library? While, XMLHttpRequest is used in Internet Explorer 7 and other browsers, such as Mozilla, Firefox. – For this functionality MSXML ActiveX component is used in earlier version of Internet Explorer. – The XMLHttpRequest object enables a client-side script to execute an HTTP request. – AJAX applications use the XMLHttpRequest object to avoid the postback of entire page when the browser is communicating with server. – Javascript uses the XMLHttpRequest object to manipulate XML and other text data between client and server. Why do we use the XMLHttpRequest object in AJAX? – Asynchronous postback only changes the update panel that invoke the postback while, synchronous postback changes the entire page. – Asynchronous postback executes only one postback at a time, that is, if you have two buttons doing asynchronous postback, the actions are executed one by one while, – synchronous postback invoke all the actions at a time. – Asynchronous postback renders only the part of the page which is needed while, synchronous postback renders the entire page in a postback. The difference between synchronous and asynchronous postback is as follows: What is the difference between synchronous postback and asynchronous postback? – Because different components of the pages are loaded at different times it may create confusion for the user. – Because different components of the pages are loaded at different times, response time may be slow. – If java script is not enabled, Ajax will stop working. – The page cannot be bookmarked if it is developed using Ajax. Hence the use Iframe will become required. – Back functionality can’t work because the dynamic pages won’t register themselves to the browsers cache.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |