Karatas, FERHAT
I would love to change the world, but they won't give me the source code!
Element “ScriptManager” is not a known element.
13.02.2007 11:45:34 - Filed under : AJAX
If you moved from Ajax Beta2 to RC1 you might encounter that kind of problem, all other controls are affected as well like Element ‘UpdatePanel’ is not a known element.
Element “ScriptManager” is not a known element. This can occur if there is a compilation error in the website.

Your form.designer.cs is no longer code generating anything, and you are using a master page – then you can probably fix it by doing the following:

  1. Open your master page in the designer by double clicking it in visual studio.
  2. Open your suspect .aspx file
  3. Right click on the toolbox in visual studio and click 'Reset Toolbox'
  4. Wait for this to complete
  5. Delete the "script manager" or "update panel" that you dropped before (if it exist)
  6. Switch to "Design Mode", and drop a new script manager from the ajax extensions group onto the page.
  7. Check that your designer is now regenerating code.
  8. And build your project

Hope this helps.

Related Terminology : Asp.net Ajax 1.0 RC1 migration

with 0 comments

What do you think ?
Security Code 8098
Check S. Code
Name  
Email  
Home Page  
Comments