![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I want a Base Class to derive my other web controls from, but I dont want it to appear in the toolbox, I think there must be a class attribute for this, can anyone tell me the exact syntax I need to use for this. I have written it in C# |
#3
| |||
| |||
|
|
Hi, ToolboxItemAttribute is what you are looking for. The usage to hide the control from the toolbox is shown below. [System.ComponentModel.ToolboxItem(false)] protected class MyControl : ..... { } -- All the best, Coskun SUNALI MVP ASP/ASP.NET http://sunali.com "Just Me" <news.microsoft.com> wrote in message news:uZN5Xt8RIHA.5016 (AT) TK2MSFTNGP06 (DOT) phx.gbl... I want a Base Class to derive my other web controls from, but I dont want it to appear in the toolbox, I think there must be a class attribute for this, can anyone tell me the exact syntax I need to use for this. I have written it in C# |
#4
| |||
| |||
|
|
Excellent Advice. Just what I needed. - Thank You ! "Coskun SUNALI [MVP]" <Coskun (AT) SUNALI (DOT) com> wrote in message news:uq3HjS9RIHA.5160 (AT) TK2MSFTNGP05 (DOT) phx.gbl... Hi, ToolboxItemAttribute is what you are looking for. The usage to hide the control from the toolbox is shown below. [System.ComponentModel.ToolboxItem(false)] protected class MyControl : ..... { } -- All the best, Coskun SUNALI MVP ASP/ASP.NET http://sunali.com "Just Me" <news.microsoft.com> wrote in message news:uZN5Xt8RIHA.5016 (AT) TK2MSFTNGP06 (DOT) phx.gbl... I want a Base Class to derive my other web controls from, but I dont want it to appear in the toolbox, I think there must be a class attribute for this, can anyone tell me the exact syntax I need to use for this. I have written it in C# |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |