Remove an inherited property?

Discussion in 'ASP .Net Building Controls' started by Curt_C [MVP], Sep 2, 2005.

  1. Curt_C [MVP]

    Curt_C [MVP] Guest

    I'm inheriting from the generic WebControl when designing my own. This
    inheritance has a "Text" property... I'm not going to be using this and was
    wondering if there is a way to remove this from the designer, so that people
    are less confused.

    Thanks in advance.

    --
    Curt Christianson
    site: http://www.darkfalz.com
    blog: http://blog.darkfalz.com
    Curt_C [MVP], Sep 2, 2005
    #1
    1. Advertising

  2. Curt_C [MVP]

    Curt_C [MVP] Guest

    Ok... any link or pointers on how that is done?

    --
    Curt Christianson
    site: http://www.darkfalz.com
    blog: http://blog.darkfalz.com



    "intrader" wrote:

    > On Fri, 02 Sep 2005 07:45:10 -0700, Curt_C[ MVP] wrote:
    >
    > > I'm inheriting from the generic WebControl when designing my own. This
    > > inheritance has a "Text" property... I'm not going to be using this and was
    > > wondering if there is a way to remove this from the designer, so that people
    > > are less confused.
    > >
    > > Thanks in advance.

    >
    > You may hide it by making your own class inheriting from WebControl that
    > hides the property.
    >
    >
    Curt_C [MVP], Sep 6, 2005
    #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. Nathan Sokalski
    Replies:
    1
    Views:
    416
    Cor Ligthert
    Mar 17, 2009
  2. Jesper Mortensen
    Replies:
    1
    Views:
    472
  3. Nathan Sokalski
    Replies:
    0
    Views:
    670
    Nathan Sokalski
    Oct 14, 2009
  4. Dave

    CssClass property not recognized by Inherited WebControl?

    Dave, Jun 21, 2004, in forum: ASP .Net Building Controls
    Replies:
    3
    Views:
    129
    Victor Garcia Aprea [MVP]
    Jun 22, 2004
  5. 7stud --
    Replies:
    11
    Views:
    384
    7stud --
    Nov 9, 2007
Loading...

Share This Page