Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. error in Web.UI-missing assembly

error in Web.UI-missing assembly

Scheduled Pinned Locked Moved C#
helpquestioncsharpdesign
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kal13na13
    wrote on last edited by
    #1

    hi I have created a class where I am creating custom control for my web page the problem is that i am getting error like this

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

    in the using System.Web.UI; using System.Web.UI.WebControls; what is the actual cause for this error ? and how i can rectify it I am not good in C# thanks in advance kal13na13

    C 1 Reply Last reply
    0
    • K kal13na13

      hi I have created a class where I am creating custom control for my web page the problem is that i am getting error like this

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

      in the using System.Web.UI; using System.Web.UI.WebControls; what is the actual cause for this error ? and how i can rectify it I am not good in C# thanks in advance kal13na13

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      kal13na13 wrote:

      are you missing an assembly reference?

      So... Are you? See the references section of your project, is there a System.Web reference in there? If not add it by right clicking references, select "Add Reference..." Find "System.Web.dll" in the list (in the .NET Tab), double click it then press okay.


      My: Blog | Photos "Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius

      K 1 Reply Last reply
      0
      • C Colin Angus Mackay

        kal13na13 wrote:

        are you missing an assembly reference?

        So... Are you? See the references section of your project, is there a System.Web reference in there? If not add it by right clicking references, select "Add Reference..." Find "System.Web.dll" in the list (in the .NET Tab), double click it then press okay.


        My: Blog | Photos "Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius

        K Offline
        K Offline
        kal13na13
        wrote on last edited by
        #3

        thanks its working

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups