AJAX = Asynchronous JavaScript and XML
AJAX is not a new programming language, but a new technique for creating better, faster, and more interactive web applications.
With AJAX, a JavaScript can communicate directly with the server, with the XMLHttpRequest object. With this object, a JavaScript can trade data with a web server, without reloading the page.
AJAX uses asynchronous data transfer (HTTP requests) between the browser and the web server, allowing web pages to request small bits of information from the server instead of whole pages.
The AJAX technique makes Internet applications smaller, faster and more user-friendly. |
NOTE: This is objective type question, Please click question title for correct answer. |
NOTE: This is objective type question, Please click question title for correct answer. |
AsyncPostBackTimeout Property needs to set which gets or sets a value that indicates the time, in seconds, before asynchronous postback time out if no response is received from the server.
<asp:scriptmanager id="scriptManager1" runat="server" asyncpostbackerrormessage="We can not serve your request at this moment.Please try later." asyncpostbacktimeout="36000"></asp:scriptmanager>
The default value of this property is 90 second. We can also set the user defined error message using asyncpostbackerrormessage property (as shown in above code) for time out. |
NOTE: This is objective type question, Please click question title for correct answer. |
Yes, it's possible. But we need to use Postback triggers to upload the file. |
Yes. Page needs to have a script manager for ajax control tool kit controls to work. |
|
NOTE: This is objective type question, Please click question title for correct answer. |
Displayafter property specifies after how many seconds the loading image needs to be displayed in ajax postback. It takes values in seconds. |
There are 2 types of triggers.
1. PostBackTrigger : It does a full postback. This is useful when any such control which placed within updatePanel but it cannot work asynchronously. Like File Upload Control.
2. AsyncPostBackTrigger :- It does partial post back asynchronously. |
There is a property called UpdateMode which takes two values
1.Always : Default value of this property.
2.Conditional
When set to conditional, then that updatepanel's content only gets updated when control placed in that update panel does a postback. Control placed in other update panel will not affect this updatepanel. |
There are 5 controls.
1. ScriptManager
2. UpdatePanel
3. UpdateProgress
4. Timer
5. ScriptManageProxy |
By default, browser will unload the web page and and will return to previous Web page, independent of any asynchronous requests. |
NOTE: This is objective type question, Please click question title for correct answer. |
NOTE: This is objective type question, Please click question title for correct answer. |