What is the difference between RegisterClientScriptBlock, RegisterClientScriptInclude and RegisterClientScriptResource?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Are there usability issues with ajax?

713


Is the ajaxcontroltoolkit.dll file installed in the global assembly cache? : asp.net ajax

657


What are the new features of asp.net ajax 4.0?

696


Is adaptive path selling ajax components or trademarking the name? Where can I download it?

697


What are different readystate in ajax?

751






What meaning has asp.net ajax?

683


Why do you use ajax?

676


What are the difference between AJAX and Javascript?

1208


What is json? : asp.net ajax

685


Is it true that a xmlhttprequest objects belongs to the w3c standard?

678


What is use of Update Panel control in Ajax toolkit?

751


What is the use of updatepanel?

731


Where should I start?

716


What are synchronous and asynchronous ajax requests?

658


Which are the knowledge requirements for personal ajax functionality?

674