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

Which are limitations of ajax?

543


What is the role of the callback function in ajax?

465


What are the components of the asp.net ajax architecture? : asp.net ajax

500


List the different states of xmlhttprequest with their description? : asp.net ajax

514


Did adaptive path invent ajax? Did google?

535






When should we use a java applet instead of ajax?

600


What is the predominant distinction between javascript and j-query?

518


How can javascript be debugged?

519


Is ajax just another name for xmlhttprequest?

513


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

514


Explain the limitations of ajax? : asp.net ajax

493


How do I handle the back and forward buttons in ajax?

491


What is the difference between synchronous postback and asynchronous postback? : asp.net ajax

658


What exactly is the w3c dom?

559


Explain the updatepanel control? : asp.net ajax

506