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:
- Open your master page in the designer by double clicking it in visual studio.
- Open your suspect .aspx file
- Right click on the toolbox in visual studio and click 'Reset Toolbox'
- Wait for this to complete
- Delete the "script manager" or "update panel" that you dropped before (if it exist)
- Switch to "Design Mode", and drop a new script manager from the ajax extensions group onto the page.
- Check that your designer is now regenerating code.
- And build your project
Hope this helps.
Related Terminology : Asp.net Ajax 1.0 RC1 migration
|