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 is AJAX Control Extender Toolkit?

1 Answers  


Why do we need ajax?

0 Answers  


What are the protocols and forms in ajax?

0 Answers  


What do I need to know to create my own ajax functionality?

0 Answers  


What are the ajax security issues?

0 Answers  


is package good in ajx?

1 Answers  


Why do we use the xmlhttprequest object in ajax? : asp.net ajax

0 Answers  


In what way are proxyless calls different than the proxied calls in ajax?

0 Answers  


Is it possible to set session variables from javascript?

0 Answers  


How we can send data to server using ajax?

0 Answers  


Is the server or the client in control in ajax?

0 Answers  


What is the use of trigger in ajax?

2 Answers  


Categories