PC Review


Reply
Thread Tools Rate Thread

designer don't work when inherits from other PageBase

 
 
thinkfr33ly@gmail.com
Guest
Posts: n/a
 
      17th Aug 2005
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.

 
Reply With Quote
 
 
 
 
z f
Guest
Posts: n/a
 
      17th Aug 2005
the HTML designer for aspx pages don't work is the page inherits from a
custom pageBase.
any solution?

TIA.


 
Reply With Quote
 
Sean M
Guest
Posts: n/a
 
      17th Aug 2005
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

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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.
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can not designer- edit form that inherits other abstract (MustInherit) form Joh Smith Microsoft VB .NET 2 11th Oct 2007 12:34 AM
Inherits from Control, Yay, Inherits from WebControl, Nay.... Alex Nitulescu Microsoft ASP .NET 0 22nd Feb 2005 05:55 AM
Event not work with new class that Inherits TreeNode Brian Microsoft VB .NET 2 4th Jun 2004 02:10 AM
Re: Duwamish7 PageBase question bruce barker Microsoft ASP .NET 0 2nd Jun 2004 03:46 PM
ASP .Net PageBase Inherit Ben Mann Microsoft ASP .NET 14 24th Oct 2003 04:09 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:20 AM.