Setting Attribute so some controls will not show in ToolBar?

Discussion in 'ASP .Net Web Controls' started by Earl Teigrob, Sep 23, 2004.

  1. Earl Teigrob

    Earl Teigrob Guest

    I have a custom control library but do not what all of my controls to be
    added to the toolbar every time I use the 'Tools>>Add/Remove Toolbar Items'
    menu. Is there some attribute I can add to my control so that it will not
    show here. (I realize that I can uncheck or delete it, but others are using
    the same controls and it would be so much simpler to just stop them from
    being added to the list.)

    Thanks for your help

    Earl
     
    Earl Teigrob, Sep 23, 2004
    #1
    1. Advertising

  2. Set these two:
    [
    DesignTimeVisible(false),
    ToolboxItem(false),
    ]


    --
    RobertK
    { Clever? No just smart. }

    "Earl Teigrob" <> wrote in message
    news:...
    > I have a custom control library but do not what all of my controls to be
    > added to the toolbar every time I use the 'Tools>>Add/Remove Toolbar

    Items'
    > menu. Is there some attribute I can add to my control so that it will not
    > show here. (I realize that I can uncheck or delete it, but others are

    using
    > the same controls and it would be so much simpler to just stop them from
    > being added to the list.)
    >
    > Thanks for your help
    >
    > Earl
     
    Robert Koritnik, Sep 23, 2004
    #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. George Ter-Saakov

    Hot to show user control on the toolbar.

    George Ter-Saakov, Nov 7, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    402
    George Ter-Saakov
    Nov 10, 2003
  2. Noozer
    Replies:
    1
    Views:
    5,509
    Roy Schestowitz
    Mar 22, 2006
  3. Nathan Sokalski
    Replies:
    1
    Views:
    433
    Mark Rae [MVP]
    Jul 29, 2007
  4. Guest
    Replies:
    6
    Views:
    394
    Guest
    Sep 4, 2007
  5. pcouas
    Replies:
    0
    Views:
    268
    pcouas
    Feb 19, 2007
Loading...

Share This Page