I am writing a small asp.net WebForms app. that uses Jquery. Is there any benefit to using the ASP.Net ScriptManager control as opposed to just using the tag to import my Jquery and custom javascript code?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You must use a ScriptManager control on a page to enable the following Microsoft Ajax features of ASP.NET:
Microsoft Ajax Library, and any
custom script that you want to send
to the browser. For more information,
see Creating Custom Client Script by
Using the Microsoft Ajax Library.
regions on the page to be
independently refreshed without a
postback. The ASP.NET UpdatePanel,
UpdateProgress, and Timer controls
require a ScriptManager control in
order to support partial-page
rendering.
services, which enable you to use
client script to access Web services
and specially marked methods in
ASP.NET pages. It does this by
exposing the Web services and page
methods as strongly typed objects.
authentication, profile, and roles
application services.
If you’re not using Ajax, you do not need to use script manager, and gain no benefits.
Source: http://msdn.microsoft.com/en-us/library/bb398863.aspx