Google News
logo
Ajax - Interview Questions
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.
Advertisement