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. Enabling Intellisense

Enabling Intellisense

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasevisual-studiowinforms
4 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 all, this is my first post here and I hope someone can help me out! I have a series of custom server controls that I am using in an asp.net web application. I have built the controls and the xsd schema file. Everything is working great when I use these custom controls within an .aspx page. But, I am now presented with an odd scenario. We have some UserControls that also need to host some of these custom server controls. Our user controls do not have or tags so I am now confused as to wiring the schema file. (In an aspx page I would simply add the following to the tag): Does anyone know if there is an alternative way to *wire* this up other than using this body tag syntax? Perhaps a Meta tag or something? Ive been googling for a while and have found nothing. Thanks! Jason

    M 2 Replies Last reply
    0
    • J Jason Vetter

      Hello all, this is my first post here and I hope someone can help me out! I have a series of custom server controls that I am using in an asp.net web application. I have built the controls and the xsd schema file. Everything is working great when I use these custom controls within an .aspx page. But, I am now presented with an odd scenario. We have some UserControls that also need to host some of these custom server controls. Our user controls do not have or tags so I am now confused as to wiring the schema file. (In an aspx page I would simply add the following to the tag): Does anyone know if there is an alternative way to *wire* this up other than using this body tag syntax? Perhaps a Meta tag or something? Ive been googling for a while and have found nothing. Thanks! Jason

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

      Hi Jason, You can try with one of the following ways: + Place the XSD files in the [Visual Studio.Net installation folder]\Common7\Packages\schemas\xml directory. + Include the XSD files as normal items in your project which you want to use Intellisense.

      1 Reply Last reply
      0
      • J Jason Vetter

        Hello all, this is my first post here and I hope someone can help me out! I have a series of custom server controls that I am using in an asp.net web application. I have built the controls and the xsd schema file. Everything is working great when I use these custom controls within an .aspx page. But, I am now presented with an odd scenario. We have some UserControls that also need to host some of these custom server controls. Our user controls do not have or tags so I am now confused as to wiring the schema file. (In an aspx page I would simply add the following to the tag): Does anyone know if there is an alternative way to *wire* this up other than using this body tag syntax? Perhaps a Meta tag or something? Ive been googling for a while and have found nothing. Thanks! Jason

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

        Hi Jason, I failed to mention how to wire up the custom schema in my previous post, I'm so sorry about that. What I have been thinking is to edit the asp.xsd file, but it is clearly not recommended as it could mess up other ASP.NET controls and would be lost when the framework is updated. So what I am trying now is to add the body tag in the user control while developing, it should be working but it sounds like a pain. I'm sorry again as my posts could not help. Adding Design-Time Support to ASP.NET Controls[^] [Edit] You can also try with the div tag, it's working in my Visual Studio but you need to consider the UI at the client side:

        <div xmlns:hh="urn:http://www.mysite.com/BrandModule/schemas">
        ...
        </div>

        J 1 Reply Last reply
        0
        • M minhpc_bk

          Hi Jason, I failed to mention how to wire up the custom schema in my previous post, I'm so sorry about that. What I have been thinking is to edit the asp.xsd file, but it is clearly not recommended as it could mess up other ASP.NET controls and would be lost when the framework is updated. So what I am trying now is to add the body tag in the user control while developing, it should be working but it sounds like a pain. I'm sorry again as my posts could not help. Adding Design-Time Support to ASP.NET Controls[^] [Edit] You can also try with the div tag, it's working in my Visual Studio but you need to consider the UI at the client side:

          <div xmlns:hh="urn:http://www.mysite.com/BrandModule/schemas">
          ...
          </div>

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

          Ahh, a div tag huh. Great, I will give it a try. Thanks

          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