Wednesday, October 13, 2010

Differences between Client Script Manager and Script Manager

The author trying to compare both methods in that site,

The major diff is ScriptManager will enables partial-page update,

ClientScriptManager will not enables the partial-page update.

ScriptManager: ScriptManager Control manages script resources for ASP.NET AJAX pages.

It will enables the partial-page update.

This script resources may be default AJAX library or custom script.

For creating custom client script please go through below link.

http://ajax.asp.net/docs/tutorials/CreatingCustomClientScripts.aspx

ClientScriptManager: Is a class, it has following methods to register client script with ASP.NET page.

RegisterClientScriptBlock()

RegisterClientScriptInclude()

RegisterClientScriptResource() ...........

It will not enables the partial-page update, That means it is as same as default client script where you are using

postback implementation.

2 comments:

kalyan said...

Hi srinivas garu am suman, i saw ur bolg's it's really useful i need ur guidance can i add ur email if u will provide my mail id is sumanb2009@gmail.com

kalyan said...

it's really usefull