designer don't work when inherits from other PageBase

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.
 
Z

z f

the HTML designer for aspx pages don't work is the page inherits from a
custom pageBase.
any solution?

TIA.
 
S

Sean M

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top