c# - adding my own control to the toolbox -


does know why can't add subclass inherits control ajaxcontroltoolkit toolkit? explicitly implemented icomponent didn't have since icontrol in parent implements icomponent already. i'll compile code, , try add dll "doesn't contain controls" error. know specific error there wasn't elsewhere.

[system.componentmodel.designercategory("component"), toolboxdata("<{0}:tabpanelwithdatabinding runat=server></{0}:tabpanelwithdatabinding>")] public class tabpanelwithdatabinding : tabpanel, icomponent, idisposable { //all meat stuff } 

because base class "tabpanel" has attribute [toolboxitem(false)]. filter control assembly. can try adding attribute control true argument.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -