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. Web Development
  3. ASP.NET
  4. User Control Help

User Control Help

Scheduled Pinned Locked Moved ASP.NET
helphtmlvisual-studiohostingalgorithms
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.
  • J Offline
    J Offline
    Jason Vetter
    wrote on last edited by
    #1

    Hello, I have a regular web user control that I have made. It is a pretty basic header for a website. The problem is that I dont have any intellisense in the Code Ahead (HTML) page. I would have expected that that all public properties within the control be visible from the web form hosting the control. Is there a trick or something Im missing? From all my searching on Google, it looks like this should be working. Btw, my control is working great so I know that isnt the problem. I have this declared at the top of the hosting form: <%@ Register TagPrefix="dyn" TagName="Header" Src="/Controls/Header.ascx" %> and then the control is: I was hoping the Intellisense would be enabled so the ActiveLink enums would drop down with the correct choices. I have some experience creating custom controls and xsd schemas to intellisense-enable them. I guess I was just hoping that a normal user control would be easier. Thanks

    M 1 Reply Last reply
    0
    • J Jason Vetter

      Hello, I have a regular web user control that I have made. It is a pretty basic header for a website. The problem is that I dont have any intellisense in the Code Ahead (HTML) page. I would have expected that that all public properties within the control be visible from the web form hosting the control. Is there a trick or something Im missing? From all my searching on Google, it looks like this should be working. Btw, my control is working great so I know that isnt the problem. I have this declared at the top of the hosting form: <%@ Register TagPrefix="dyn" TagName="Header" Src="/Controls/Header.ascx" %> and then the control is: I was hoping the Intellisense would be enabled so the ActiveLink enums would drop down with the correct choices. I have some experience creating custom controls and xsd schemas to intellisense-enable them. I guess I was just hoping that a normal user control would be easier. Thanks

      M Offline
      M Offline
      minhpc_bk
      wrote on last edited by
      #2

      Hi Jason, I think if you want to enable Intellisense in visual designer, you will have to go for custom controls instead of web user controls as they have limited UI design support. Basically, you only have Intellisense enabled in the code editor, but not in the html editor.

      J 1 Reply Last reply
      0
      • M minhpc_bk

        Hi Jason, I think if you want to enable Intellisense in visual designer, you will have to go for custom controls instead of web user controls as they have limited UI design support. Basically, you only have Intellisense enabled in the code editor, but not in the html editor.

        J Offline
        J Offline
        Jason Vetter
        wrote on last edited by
        #3

        Bummer. OK, thanks for the reply.

        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