Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
On a recent MCMS to MOSS conversion project, I had to convert some existing templates to page layouts. There were a couple of templates which were using AJAX. Each template has its own instance of the ScriptManager because each has a different ServiceReference and ScriptReference declaration. As I went through the conversion, I wanted to refactor the code and declare the ScriptManager in the master page, but doing that would mean that I have to declare all the ScriptReference and ServiceReference that ALL page layouts need. I hesitated in doing so until I found out about the ScriptManagerProxy. This class was designed to solve this exact problem!
Here's a great video showing how to use it on a page.
Comments
- Anonymous
February 16, 2008
PingBack from http://www.biosensorab.org/2008/02/17/ajax-scriptmanagerproxy/