DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Thu, 16 Aug 2007 15:28:42 +0100,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    Krip


'ScriptManager' does not exist in the namespace 'System.Web.UI'   
When adding ASP.NET AJAX 1.0 ScriptManager and UpdatePanels to some pages in 
our Web Application project, we get the following error:

    "The type or namespace name 'ScriptManager' does not exist in the 
namespace 'System.Web.UI' (are you missing an assembly reference?)"

This error occurs on the declaration of ScriptManager and UpdatePanel 
objects automatically generated in the .designer files.  There is no problem 
for pages we ported over from ASP.NET 1.1 (where no .designer files exist) - 
those compile and work fine.  The issue is only with new pages added that 
have .designer files.  If we comment out the declarations, the web project 
compiles fine.  Otherwise it reports the above error.

I have added web.extensions assembly to both web.config file and explicitly 
as a Reference.

How do we get rid of this error so we don't have to keep manually editing 
the .designer files?

Thanks
Date:Thu, 16 Aug 2007 15:28:42 +0100   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us