Why Control inherited from DataBoundControl appears as Component?

S

Shimon Sim

I have control that has following class definition
[ToolboxData("<{0}:StockViewer runat=\"server\"></{0}:StockViewer>")]

public class StockViewer : DataBoundControl

{

}

this control doesn't show up in Toolbox when ASP page is open in design
view. But if you switch to component designer view it does appear.

The same behavior I have with Custom Web Parts.

Can I do anything about it?

Thank you.
 

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,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top