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

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top