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

When should we use a java applet instead of ajax?

0 Answers  


Explain the updatepanel control? : asp.net ajax

0 Answers  


What are limitations of ajax?

0 Answers  


Is it possible to use multiple scriptmanager controls on a web page? : asp.net ajax

0 Answers  


Is it true that ajax is code browser compatible?

0 Answers  






What is the name of the DLL that contains Ajax control tool kit?

1 Answers  


Do we have to use http get/post for the ajax calls?

0 Answers  


What are the common problems (errors) you get while implementing AJAX?

1 Answers   Hoch Technologies,


Why we r using AJAX in ASP.NET ?

2 Answers   Satyam,


How do I handle the back and forward buttons?

0 Answers  


Are there any security issues with ajax?

0 Answers  


How do we get the xmlhttprequest object in ajax?

0 Answers  


Categories