0

I'm trying to use both update panel and tab container on my page but when I compile the project I get this error...

The type 'System.Web.UI.ScriptControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

I've already added the reference to the aspx page, web.config and still the build fails. Is there something else I need to do? What am I missing?

ps. Please let me know if you need me to provide any more information.

Thanks in advance.

MelloG
  • 1,044
  • 1
  • 11
  • 11

1 Answers1

0

you need to add that reference to your web.config.

<compilation debug="true">
  <assemblies>
    <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
lincolnk
  • 11,218
  • 4
  • 40
  • 61
  • It is already there... Does the fact that the page inherits from a master page changes anything? Should the reference also be placed inside the aspx page? Thanks! – MelloG Feb 17 '11 at 17:16