Toolbox bitmap

T

Tim Parker-Nance

I have been trying to get a bitmap displayed for my component with no
success. I have a class library Tim.ASPNet.dll with namespace Tim.ASPNet. In
it I have added a ASP.Net server control called TestContol. I have set the
toolbox bitmap to be the normal web controls image bitmap:

namespace Tim.ASPNet
{
[ToolboxBitmap(typeof(System.Web.UI.WebControls.Image))]
[ToolboxData("<{0}:TestControl runat=server></{0}:TestControl>")]
public class TestControl : WebControl
{
}
}

I then have a test web site that has a reference to TimASPNet.dll. I can see
my component on the toolbox, but it has the default gear bitmap and not the
image bitmap.

Any ideas what I am doing wrong?

Thanks

Tim.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,905
Latest member
Kristy_Poole

Latest Threads

Top