Inherit two base classes CMSAbstractWebPart and CMSAbstractDataFilterControl

giridhar Addagalla asked on December 3, 2018 16:53

Hi I am creating a custom filter to do filters in products, where i am linking mu webcontrol as new webpart and adding the properties link where condition etc, to access the property names i need to use CMSAbstractWebPart and to send the filter condition to the filter.ascx i need to use CMSAbstractDataFilterControl, i was not able to inherent both of the base classes, can you specify any other way to use the 2 base classes, thanks.

Recent Answers


Dražen Janjiček answered on December 4, 2018 12:11 (last edited on December 4, 2018 12:12)

You cannot inherit from multiple (base) classes. https://docs.microsoft.com/en-us/dotnet/csharp/tutorials/inheritance

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.