designer don't work when inherits from other PageBase

  • Thread starter Thread starter thinkfr33ly
  • Start date Start date
T

thinkfr33ly

This is a known issue with VS.NET, probably...

Make sure your base class has a public constructor with no arguments.
Also, make sure it's not an abstract class. (VS.NET can't handle that.)

Even with both of these conditions met, sometimes VS.NET will simply
refuse to load the page into the designer. When this happens, close the
page in question, close the project, then open everything up again.
Most of the time this will temporarily solve the problem.
 
the HTML designer for aspx pages don't work is the page inherits from a
custom pageBase.
any solution?

TIA.
 
If your PageBase is generic enough, consider compiling it as a separate .NET
assembly and including a reference to it in your ASP.NET project

-- Sean M
 
Back
Top