Hello,
Web parts inherited from the
CMSAbstractWebPart class has a slighly different page life cycle as a standard .NET UserControl. So, if your control contains only standard ASP.NET controls and it works correctly outside Kentico
CMS, it is not necessary to create a new CMSAbstractWebPart web part. You can insert the custom user control (ASCX file) onto the page using the
User control web part. All you need to specify is the
User control virtual path property that specifies the virtual path to the .ascx file of the user control that will be placed on the page. For example: ~/CMSGlobalFiles/control.ascx
Best regards,
Michal Legen