all groups > asp.net building controls > july 2003 >
You're in the

asp.net building controls

group:

Toolbox icon


Toolbox icon Shawn B.
7/29/2003 8:37:48 PM
asp.net building controls:
Greets,

When inheriting WebControl, how do I omit it from being added to the toolbox
when I add items to the toolbox. Initially, it adds all the controls in the
assembly to the toolbox. What if there is one I don't want added?


Thanks,
Shawn

Re: Toolbox icon Teemu Keiski
7/31/2003 4:31:52 PM
I guess I answered you at ASP.NET forums as well. Specify the control that
you don't want to come up to the Toolbox with [ToolBoxItem(false)]
attribute. The attribute in question is in System.ComponentModel namespace.

--
Teemu Keiski
MCP, Designer/Developer
Mansoft tietotekniikka Oy
http://www.mansoft.fi

AspInsiders Member, www.aspinsiders.com
ASP.NET Forums Moderator, www.asp.net
AspAlliance Columnist, www.aspalliance.com

[quoted text, click to view]

AddThis Social Bookmark Button