What is the difference between RegisterClientScriptBlock, RegisterClientScriptInclude and RegisterClientScriptResource?



What is the difference between RegisterClientScriptBlock, RegisterClientScriptInclude and RegisterCl..

Answer / v madhu babu

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.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AJAX Interview Questions

What are the differences between ajax and javascript?

0 Answers  


How do we debug javascript?

0 Answers  


How was ajax killed?

0 Answers  


How to handle multiple async ajax requests?

0 Answers  


Why do we use ajax?

0 Answers  


Is ajax an api?

0 Answers  


When do I use a synchronous versus a asynchronous request?

0 Answers  


Which are the knowledge requirements for personal ajax functionality?

0 Answers  


Define json?

0 Answers  


What will happen with click of browser "back" button among asynchronous requests?

0 Answers  


Cannot parse xml generated by jsp I am generating an xml using jsp, when I run the jsp in ie it shows the xml as per dom, but when I try to parse it using javascript , the command xmldoc.documentelement ?

0 Answers  


How can we handle exception handling in Ajax?

1 Answers  


Categories