.NET 2.0 Custom Web.Config section and Intellisense

Discussion in 'ASP .Net' started by Jon, Jul 4, 2007.

  1. Jon

    Jon Guest

    Hello all,

    I have created a custom web.confif section and all works fine.
    However, is there a way to add intellisense to the elements? For
    example, one of the elements can only be INTERNAL or EXTERNAL, so I'd
    like these to drop down in an intellisense box. Is it possible?

    Thanks,

    Jon
     
    Jon, Jul 4, 2007
    #1
    1. Advertising

  2. Jon-

    You can configure Visual Studio's intellisense using custom XSD files. A
    good reference is Aaron's blog entry here:

    http://blogs.msdn.com/astebner/archive/2005/12/07/501466.aspx

    It's fairly deep, so I've never seen much value unless you have a great deal
    of customization that you're rolling out to a team of developers or such.
    But, as with most things, it's there if needed.

    Good luck!

    -dl

    --
    David R. Longnecker
    http://blog.tiredstudent.com

    > Hello all,
    >
    > I have created a custom web.confif section and all works fine.
    > However, is there a way to add intellisense to the elements? For
    > example, one of the elements can only be INTERNAL or EXTERNAL, so I'd
    > like these to drop down in an intellisense box. Is it possible?
    >
    > Thanks,
    >
    > Jon
    >
     
    David R. Longnecker, Jul 4, 2007
    #2
    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. James Coe
    Replies:
    2
    Views:
    642
    James Coe
    Aug 29, 2003
  2. ABC
    Replies:
    4
    Views:
    512
    tdavisjr
    Oct 25, 2005
  3. =?Utf-8?B?VGFiaQ==?=

    Custom section in web.config

    =?Utf-8?B?VGFiaQ==?=, Nov 18, 2005, in forum: ASP .Net
    Replies:
    6
    Views:
    11,867
    =?Utf-8?B?VGFiaQ==?=
    Nov 18, 2005
  4. MichaelS
    Replies:
    0
    Views:
    429
    MichaelS
    Nov 22, 2006
  5. kampy
    Replies:
    9
    Views:
    350
    Steven D'Aprano
    Oct 19, 2012
Loading...

Share This Page