Ajax Interview Questions
1 .
What is the difference between RegisterClientScriptBlock, RegisterClientScriptInclude and RegisterClientScriptResource?
Following are the functions :
 
RegisterClientScriptBlock : The script is specified as a string parameter.

RegisterClientScriptInclude : By setting the source attribute to a URL that point to a script file.

RegisterClientScriptResource : specifies Resource name in an assembly. The source attribute is automatically populated with a URL by a call to an HTTP handler that retrieves the named script from the assembly.
2 .
Explain the limitations of AJAX?
The following are the limitations of AJAX :
 
It is difficult to bookmark a particular state of the application
 
Function provided in the code-behind file do not work because the dynamic pages cannot register themselves on browsers history engine automatically
 
If JavaScript is disabled, then AJAX is not able to perform any work
 
Response time may be slow because different controls of a page are loaded at different time.