When building a custom module for DotNetNuke, I have run into this annoying issue whenever I need to edit an .ascx control that makes use of the DotNetNuke TextEditor control.
If I make any change to the .ascx file, the control's designer file reverts the control's definition back to System.Web.UI.UserControl after the change is made.  If I manually change the definition back to DotNetNuke.UI.UserControls.TextEditor, I can successfully build until I make another change in the .ascx control again.  I have searched the DNN forums and Stack Overflow, but have not found a solution to this problem.
 
    