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
697 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
4 Comments
 
LVL 27

Expert Comment

by:Sammy
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now