This exception occurs during debugging on useless client machines today and is thrown out of Microsoft's encapsulated Ajax package.CodeThere is no problem, because the code on the client machine is from VSS, the same as the code on my machine, and. the version and patch of Net Framework are the same as those of my machine, but the following exception occurs:
User code does not handle invalidoperationexception
The control with ID 'modalpopupetender1' requires a scriptmanager on the page. The scriptmanager must appear before any controls that need it.
Solution:
Reinstall aspajaxextsetupvs2005.msi to solve the problem.
Cause analysis:
1. It may be that the aspajaxextsetupvs2005.msi control is not fully installed.
2. It may be a sequence problem, because the customer's machine only has. net framework2.0, and my machine has 3.0sp2 and 3.5sp1, so I need to install 3.0sp2 and 3.5sp1 for the customer. At this time, aspajaxextsetupvs2005.msi has been installed on the customer machine (it is estimated that aspajaxextsetupvs2005 ).