visual studio 2010 - The type or namespace name UpdatePanel does not exist in the namespace System.Web.UI -


i'm working on website built developer targets asp.net 3.5. i'm trying add update panel around bit of code, whenever attempt error posted in title. i've tried including ajaxcontroltoolkit dll no luck.

the following referrences web config file:

<compilation debug="true">       <assemblies>         <add assembly="system.design, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a"/>         <add assembly="system.web.extensions, version=3.5.0.0, culture=neutral, publickeytoken=31bf3856ad364e35"/>         <add assembly="system.web.abstractions, version=3.5.0.0, culture=neutral, publickeytoken=31bf3856ad364e35"/>         <add assembly="system.core, version=3.5.0.0, culture=neutral, publickeytoken=b77a5c561934e089"/>         <add assembly="system.data.linq, version=3.5.0.0, culture=neutral, publickeytoken=b77a5c561934e089"/>         <add assembly="system.windows.forms, version=2.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089"/>         <add assembly="system.servicemodel.web, version=3.5.0.0, culture=neutral, publickeytoken=31bf3856ad364e35"/>         <add assembly="system.data.services.client, version=3.5.0.0, culture=neutral, publickeytoken=b77a5c561934e089"/>         <add assembly="system.data.services.design, version=3.5.0.0, culture=neutral, publickeytoken=b77a5c561934e089"/>         <add assembly="system.data.entity, version=3.5.0.0, culture=neutral, publickeytoken=b77a5c561934e089"/>       </assemblies>     </compilation> 

and when dragged updatepanel onto page toolbox in visual studio 2010, register statement added:

<%@ register assembly="system.web.extensions, version=3.5.0.0, culture=neutral, publickeytoken=31bf3856ad364e35" namespace="system.web.ui" tagprefix="asp" %> 

what missing?

turns out problem visual studio not recognizing system.web.extensions reference. solve followed these steps:

  1. change target framework previous version (for me 2.0)
  2. once that's done, change target framework original version (3.5 me)

visual studio make sure webconfig has proper trimmings , can check success opening object explorer , making sure system.web.extensions appears in "view containers" list.


Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -

delphi - How to convert bitmaps to video? -