Click here to Skip to main content
15,909,953 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have written a class in windows application which is inherited from button class.I can add this in toolbox.But in asp.net the class must be inherited from button base class.But the class can not be added in toolbox.I have tested this from choose items dialog box but class can not be added.Please show the step.
Posted

1 solution

hi,

In web application we prefer to create a UserControl to add your own custom controls
see
Link 1
Link 2

I hope you will get better idea after reading these articles.
 
Share this answer
 
Comments
souvikcode 3-May-12 23:39pm    
But the help can not says how to inherit the control from button class.Actually I want to create a button with more style.And want to drag drop in my page from toolbox.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900