?
Solved

What is going on!!!! Global.System.Web.UI.ScriptManager Error 696 Type 'System.Web.UI.ScriptManager' is not defined.

Posted on 2007-04-04
4
Medium Priority
?
727 Views
Last Modified: 2012-08-14
Ok, I thought yesterday this was a problem with VS 2005.  I properly installed the AJAX framework 1.0.  Updated the web.config.

The stupid designer file for my aspx keeps complaining about both the ScriptManager control and all UpdatePanel controls I threw onto the page and so when I try to build, it keeps giving me this!

Type 'System.Web.UI.ScriptManager' is not defined.

Type 'System.Web.UI.UpdatePanel' is not defined.

 When I thought this problem was just a bug, I had done the following and it just quietly for no reason went away, but not it's back.  Here's what I did yesterday to get this stupid crap to quit complaning:

 1) I had both the aspx & it's designer.vb file open in VS 2005

2) I tried taking those controls out and readding them.  As I look at the designer, it is changing dynamically as it should with each change to my aspx

3) After 2 hours of this crap, and still getting these errors, I said hmm, let me close VS....a collegue said he had been getting this weirdness also in other stuff he was coding after moving back to this new team at corporate.  Maybe it's their code but right now, my code looks great!

 4) After I reopened VS, the stupid errors went away

 Today I was working for half the day on the same files and others.  All of a sudden, I go get coffee.  The last change I did was to add a ../ in an absolute path to a CSS link inside my aspx.  I swear that's it.  I come back, try to build and WAM!
0
Comment
Question by:dba123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 27

Expert Comment

by:Sammy Ageil
ID: 18855870
when you created your site did you choose ASP.NET AJAX-Enabled Web Site?
if you dont do it that you will get nothing but major headaches from VS.NET and Ajax in general
0
 
LVL 1

Accepted Solution

by:
dba123 earned 0 total points
ID: 18891555
of course...the webconfig is all ajax enabled.  I copied all the stuff form the ajax enabled website that I created into my app.

it's working now, I deleted some .cache files or whatever and it works...who knows...I had not only problems with this but other non-ajax controls and the designer files complaining for no good reason.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses
Course of the Month10 days, 21 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question