Try adding the attribute:
[ToolboxItem(true)]
to the class.

--
Peter

David A. spake:
>
> Hi everybody,
>
> Can anybody explain to me, why the following class can’t be placed on
> the Toolbox?
>
> using System;
>
> namespace ExWebbrowserControlLibrary
> {
>         /// <summary>
>         /// Zusammendfassende Beschreibung für ExWebbrowserControl.
>         /// </summary>
>         public class ExWebbrowserControl : AxSHDocVw.AxWebBrowser
>         {
>         }
> }
>
> It is in a normal class library.
>
> When I place a normal AxWebBrowser control onto a form and then manually
> change all the types in the source code from AxWebBrowser to
> ExWebbrowserControl, it does work. I only can't place the control onto
> the toolbox... Is there an attribute that I need to set?
>
> Thanks for the help!
>
> David

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to