Reputation: 41
I have a script manager in master page. Now I want to add a TextBox Calendar Extender to my child page. When I add a ToolscriptManager into child page it shows me an error:
"Only one instance of a ScriptManager can be added to the page."
Am I able to add the calendar extender to this page? I am using AjaxControlToolkit3.5. Can anyone help me on this?
Upvotes: 0
Views: 1095
Reputation: 141648
There can only ever be one real ScriptManager. If you have a ScriptManager on your Master page, then in your pages you would use a ScriptManagerProxy
. This will act as a proxy to the real ScriptManager on your master page. It provides the same functionality as the ScriptManager for the most part, and you would use it the same way.
Upvotes: 2