Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Inherited User Control Web Designer Issue

Reply
Thread Tools

Inherited User Control Web Designer Issue

 
 
George Economos
Guest
Posts: n/a
 
      10-07-2003
I apologize in advance for this post since I have seen it many times before,
but never a adequate solution. Here is my situation:

(1) Created an assembly that contains the following class: class
MyUserControl : System.Web.UI.UserControl.

(2) Created a web application that references the above assembly as a
project and contains a class that inherits from MyUserControl.

When I try to use the web forms designer I get the following error:

"The file failed to load in the Web Form designer. Please correct the
following error and open it again: The designer could not be shown for this
file because none of the classes within it can be designed. The designer
inspected the following classes: {DeriveClassName} - The base class
MyUserControl could not be loaded. Ensure that the assembly has been
referenced or built if it is part of the project."

I know I am referencing required assembly and that it builds correctly. Also
this only occurs on some machines which is odd because supposedly all of our
machines are identical( obviously not ).

As a work around we can remove the @ Control directive when we want to
visually design the control and add it back when we are done, but this is a
hassle.

We are using VS.NET 2002 any suggestions would be greatly appreciated.

George Economos





 
Reply With Quote
 
 
 
Reply

Thread Tools

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
'Class.inherited' v. 'inherited' syntax inside Class 7stud -- Ruby 11 11-09-2007 06:45 PM
Sharepoint Designer/ Expression Web Designer : adding item in toolbox ? Steve B. ASP .Net 4 06-01-2007 04:29 AM
Inherited User Control Web Designer Issue George Economos ASP .Net 0 10-07-2003 05:15 PM
Inherited DropDownList Designer problem Ron Vecchi ASP .Net Building Controls 0 09-13-2003 05:43 PM
Error trying to use VS form designer with inherited code behind class AP ASP .Net 1 08-26-2003 06:21 PM



Advertisments