'ScriptManager' does not exist in the namespace 'System.Web.UI'

Discussion in 'ASP .Net' started by Krip, Aug 16, 2007.

  1. Krip

    Krip Guest

    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
     
    Krip, Aug 16, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Èý¹â
    Replies:
    1
    Views:
    599
    William F. Robertson, Jr.
    Jul 29, 2003
  2. John Spiegel
    Replies:
    2
    Views:
    7,594
    John Spiegel
    Apr 16, 2004
  3. Replies:
    0
    Views:
    5,167
  4. LT
    Replies:
    7
    Views:
    2,148
    Phlip
    Jul 25, 2004
  5. asp.net ajax
    Replies:
    2
    Views:
    1,644
    Gregory A. Beamer
    Dec 21, 2009
Loading...

Share This Page