Differences between the ScriptManager And ScriptManager Proxy [Resolved]

Posted by Rajeshk under ASP.NET AJAX on 11/21/2012 | Points: 10 | Views : 8239 | Status : [Member] | Replies : 4
hi all,

can anyone tell me the difference in between the Scriptmanager and ScriptManagerProxy?

Thanks&Regards
rajeshkommireddy@gmail.com



Responses

Posted by: Sandhyab on: 11/21/2012 [Member] Starter | Points: 50

Up
0
Down

Resolved
Hi,
We can have only one script manager but we can have multiple proxies.
And, Script Manager is server control that makes script resources available to the browser, including the Microsoft AJAX Library and the functionality that enables partial-page rendering.
Script manager proxy is a server control that enable nested components to add script and service references if the page already contains a script manager control.

Thanks & Regards

Rajeshk, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Saratvaddilli on: 11/21/2012 [Member] [MVP] Bronze | Points: 25

Up
0
Down
simple explanation:
suppose if you have script manager in the master page then if you want a script manager reference in an underlying page or user control you have to use script manager Proxy .
we can not use two script managers on the same page

Thanks and Regards
V.SaratChand
Show difficulties that how difficult you are

Rajeshk, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: aswinialuri-19361 on: 11/22/2012 [Member] Starter | Points: 25

Up
0
Down
Script manager A page can contain only one script manager content page in ur application and the master contains a script manager control then you can use the script manager proxy control to add script to content pages.

Mark as Answer if it helps you
Thanks&Regards
Aswini Aluri

Rajeshk, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Muhsinathk on: 11/22/2012 [Member] Bronze | Points: 25

Up
0
Down
Script Manager
1. You can only have one script manager per page
2. A server control that makes script resources available to the browser, including the Microsoft AJAX Library and the functionality that enables partial-page rendering.

Script manager proxy

1. You can have multiple proxies.
2. A server control that enables nested components to add script and service references if the page already contains a ScriptManager control.

Rajeshk, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response