When I create page or user control classes that are inherited from base classes that I created (which respectively inherit from System.Web.UI.Page and System.Web.UI.UserControl), and I then open them up in my project VS.Net gives me the following error message:
Code:
The file failed to load in the Web Form designer.
Please correct the following error, then load it again: Type Abstract
I finally figured out that this was due to the fact that my page was inheriting from a class that VS didn't recognize so it doesn't know what designer capabilities to use (or something like that). Oddly, this only happens in one project using this scenario while another project using the same scenario does not give me this error.
Does anyone know how to remedy this if that's even possible? It's annoying because you lose intellisense in the form designer after you've loaded up an "abstract" form or control.
Peter