Click here to Skip to main content
15,886,761 members
Please Sign up or sign in to vote.
1.33/5 (2 votes)
See more:
Hello Friends,

Normally we have to use scriptmanager control on our page whenever there is a need for update panel and other ajax controls.

I want to know about actual function of scriptmanager. Please provide me some details on this.

Thanks in advance for your help.

Kind Regards,
Jagjot
Posted
Updated 3-Oct-17 3:41am

 
Share this answer
 
Comments
Prasanta_Prince 28-Apr-11 9:30am    
Good one.
 
Share this answer
 
script manager lets you not to refresh whole page instead a part of page.
but before using script manager make sure which control does not work correctly inside script manager
for example menu control does not work correctly inside script manager.
Thanks pradeep lakhina
 
Share this answer
 
Comments
Ankur\m/ 28-Apr-11 6:54am    
Did you NOT see that this question has a solved status?
Ankur\m/ 28-Apr-11 6:57am    
If you realy want to answer questions, choose questions from here - http://www.codeproject.com/script/Answers/List.aspx?tab=active
Main use of Scriptmanager is Support the make the AJAX controls functional,as it manages Each and every aspect of the controls. For e.g. if we take an update panel and there is piece of code which takes lots of time to execute as there might be some functionality to be achieved we can set the Execution time out to make the prolonged methods process successfully.
Secondly if there are some java scripts we are using we can load those at one time when the scriptmanager is loaded.
Each and Every event related to ASYNC post back can be traveresed by scriptmanager which makes error thrown due to AJAX manage able instead on getting JAVASCRIPT of timed out or requestparameter thrown error etc.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900