How do I make a page with multiple AJAX custom controls?
How do I make a page with multiple AJAX custom controls?
(OP)
My web app has two custom controls, each of which uses a toolkitscriptmanager. When either one is on a page, it runs fine, but a page that has both of them triggers a "Only one instance of a ScriptManager can be added to the page." exception. What needs to added to the page with both controls to make it work?
Does anyone have a link that explains the difference between Scriptmanager, ScriptManagerProxy, and ToolkitScriptManager?
Thanks in advance!
Does anyone have a link that explains the difference between Scriptmanager, ScriptManagerProxy, and ToolkitScriptManager?
Thanks in advance!
RE: How do I make a page with multiple AJAX custom controls?
The ScriptManager or ToolScriptManager reference should go in the host page, not in the controls and should be one or the other, not both.
ScriptManager is part of ASP.Net and ToolScriptManager is part of AJAX Toolkit, but ToolScriptManager was supposedly removed in AjaxToolkit version 15.1
Mark
"You guys pair up in groups of three, then line up in a circle."
- Bill Peterson, a Florida State football coach
RE: How do I make a page with multiple AJAX custom controls?
I didn't realize you had replied because I was no longer receiving email notifications.