A
page can contain only one ScriptManager control. If you have a
Master-Content page scenario in your application and the MasterPage
contains a ScriptManager control, then you can use the
ScriptManagerProxy control to add scripts to content pages.
Also,
if you come across a scenario where only a few pages in your
application need to register to a script or a web service, then its best
to remove them from the ScriptManager control and add them to
individual pages, by using the ScriptManagerProxy control. That is
because if you added the scripts using the ScriptManager on the Master
Page, then these items will be downloaded on each page that derives from
the MasterPage, even if they are not needed, which would lead to a
waste of resources.
Join MindStick Community
You need to log in or register to vote on answers or questions.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
Can you answer this question?
Write Answer1 Answers