The name 'ScriptManager' does not exist in the current context
问题 I copied some code to solve a problem with running JavaScript after an AJAX postback in ASP.Net. Unfortunately the new code gave me the following error when doing a build: The name 'ScriptManager' does not exist in the current context Now I've used the ScriptManager before, so why would it be giving me problems now? Isn't it available on all ASP.Net pages? I have a script manager on my master page after all... 回答1: I suppose there could be a number of things wrong that would generate this