This is a migrated thread and some comments may be shown as answers.

[Solved] Reduce available controls

4 Answers 89 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Andrés Sepúlveda Cubillos
Top achievements
Rank 1
Andrés Sepúlveda Cubillos asked on 24 Jul 2009, 05:35 PM
Hi guys,

I'm trying to reduce the amount of controls for the users in the toolbox of VS2008, but I don't want just to delete them from the VS toolbox, I want to remove them directly from the binaries (I have the control's source code).
Is there anyone who make this change already?

Thanks in advance
Regards.

4 Answers, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 27 Jul 2009, 10:23 AM
Hi Andrés,

You can easily achieve your goal using [ToolboxItem(false)].

Regards,
Paul
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Andrés Sepúlveda Cubillos
Top achievements
Rank 1
answered on 28 Jul 2009, 10:19 PM
Hi Paul, thanks for your quickly answer.
I tried to find that property at control's source code but I couldn't .
For instance if I want to remove from the ToolBox "RadColorPicker" I assume that I have to change RadColorPicker.cs, but instead [ToolboxItem(false)] I found another options for toolbox such as [ToolboxData] and [ToolboxBitmap].
What am I doing wrong?

Thanks a lot.
Regards.

0
Andrés Sepúlveda Cubillos
Top achievements
Rank 1
answered on 28 Jul 2009, 10:19 PM
Hi Paul, thanks for your quickly answer.
I tried to find that property at control's source code but I couldn't .
For instance if I want to remove from the ToolBox "RadColorPicker" I assume that I have to change RadColorPicker.cs, but instead [ToolboxItem(false)] I found another options for toolbox such as [ToolboxData] and [ToolboxBitmap].
What am I doing wrong?

Thanks a lot.
Regards.

0
Accepted
Paul
Telerik team
answered on 29 Jul 2009, 10:56 AM
Hi Andrés,

Setting [ToolboxItem(false)] will override the rest properties related to the VS toolbox.

Sincerely yours,
Paul
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Andrés Sepúlveda Cubillos
Top achievements
Rank 1
Answers by
Paul
Telerik team
Andrés Sepúlveda Cubillos
Top achievements
Rank 1
Share this question
or