In C# you can inherit at most one class, and because Intrasite modules use user controls which by definition need to inherit from UserControl class, it is impossible to inherit also from ControlPanelBase
classes. Therefore interfaces are used (there are no restrictions on how many interfaces can be implemented ona class).
control is initialized from ControlPanel
control. In order for the two to be able to communicate, ControlPanel passes a reference to itself through an overloaded constructor.
Please review the attached example. It demonstrates how to create Intrasite module thus shows how to get ControlPanel to know the CommandPanel control.
the Telerik team
Check out Telerik Trainer
, the state of the art learning tool for Telerik products.