Making Custom Control Properties Visible in Visual Studio's Properties Palette

Discussion in 'ASP .Net Building Controls' started by Nathan Sokalski, Oct 17, 2005.

  1. I am learning how to use the System.ComponentModel class in VB.NET so that I
    can add my ASP.NET controls to Visual Studio .NET 2003. I have managed to
    make my control properties visible in the Properties Palette when in Design
    View by adding the following before each Property declaration:

    <Bindable(False), Browsable(True), DefaultValue(60), Description("Specifies
    the width of the area surrounding the thumbnail image")>


    However, when in HTML view they are not visible in the Properties Palette
    and Visual Studio does not display a dropdown list of available properties
    when you start to type them as attributes. How can I make the properties
    appear in the Property Palette regardless of which view I am in? Thanks.
    --
    Nathan Sokalski

    http://www.nathansokalski.com/
     
    Nathan Sokalski, Oct 17, 2005
    #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. wh
    Replies:
    2
    Views:
    601
    Cowboy \(Gregory A. Beamer\)
    Jan 16, 2004
  2. Nathan Sokalski
    Replies:
    0
    Views:
    955
    Nathan Sokalski
    Oct 17, 2005
  3. Thirumalai
    Replies:
    0
    Views:
    754
    Thirumalai
    May 22, 2006
  4. rockdale
    Replies:
    1
    Views:
    699
    Juan T. Llibre
    Aug 23, 2006
  5. Nathan Sokalski
    Replies:
    0
    Views:
    246
    Nathan Sokalski
    Oct 17, 2005
Loading...

Share This Page