Tuesday, October 1, 2013

AjaxControlToolkit ExtenderControlBaseDesigner class requires T

Hello!

The previous version of ExtenderControlBaseDesigner does not require T as parameter. However, in recent versions you might notice that the class is declared with T. Here's a sample declaration:
Code:
AjaxControlToolkit.Design.ExtenderControlBaseDesigner<T>  

T means AjaxControlToolkit.ExtenderControlBase. In order for the Custom Extender Designer to work, supply the T with class that inherits the ExtenderControlBase. This sample class inherits the ExtenderControlBase:
Code:
public class CustomPanelExtender : ExtenderControlBase  
 {  
    //your code goes here....  
 } 

0 comments:

Post a Comment