I am trying to create a generic user control that inherits parent that also generic. something like this:-
public partial class UserControlBase<T> : UserControl { }
public partial class UCParent<T> : UserControlBase<T> { }
public partial class AnalysisUC<T> : UCParent<T> { }
the UCParent & AnalysisUC designers not works fine. get this error
Cannot create an instance of AnalysisSys.UI.infrastructure.UCParent`1[T] because Type.ContainsGenericParameters is true.
thanks a lot for your help.