I saw a message from a netizen today:
If you have a problem, ask the brothers, for inheriting existing components in Microsoft .NET Framework, how to block some attributes, is the new component does not provide inheritance, such as inheriting Panel new writing EPANEL, for Panel How does the attribute backcolor shield? ?
This problem solution is as follows:
Step 1: Class-providing services in your control class
[Designer (TypeOf (msplus.web.ui.design.webcontrols.buttondesigner)]]]
[Description
"
Msplus WebControl Button
"
)] [Designer
Typeof
(Msplus.web.ui.design.webcontrols.buttondesigner)]]]
public
SeaD
Class
Button: MsplusWebControl, iPostBackeventhandler
{}